Class RMException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RMException
    extends java.lang.Error
    A simple subclass of Error that RM uses to indicate errors thrown by RM.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RMException()
      Creates a new uninitialized exception.
      RMException​(java.lang.String s)
      Creates a new exception for a given exception string.
      RMException​(java.lang.Throwable t)
      Creates a new exception for a given throwable.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable fillInStackTrace()
      Overrides standard error method to allow encapsulated throwable to provide stacktrace.
      java.lang.String getLocalizedMessage()
      Overrides standard error method to allow encapsulated throwable to provide message.
      java.lang.String getMessage()
      Overrides standard error method to allow encapsulated throwable to provide message.
      void printStackTrace()
      Overrides standard error method to allow encapsulated throwable to provide stacktrace.
      void printStackTrace​(java.io.PrintStream s)
      Overrides standard error method to allow encapsulated throwable to provide stacktrace.
      void printStackTrace​(java.io.PrintWriter s)
      Overrides standard error method to allow encapsulated throwable to provide stacktrace.
      java.lang.String toString()
      Overrides standard error method to allow encapsulated throwable to provide string.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, getCause, getStackTrace, getSuppressed, initCause, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RMException

        public RMException()
        Creates a new uninitialized exception.
      • RMException

        public RMException​(java.lang.String s)
        Creates a new exception for a given exception string.
      • RMException

        public RMException​(java.lang.Throwable t)
        Creates a new exception for a given throwable.
    • Method Detail

      • fillInStackTrace

        public java.lang.Throwable fillInStackTrace()
        Overrides standard error method to allow encapsulated throwable to provide stacktrace.
        Overrides:
        fillInStackTrace in class java.lang.Throwable
      • getLocalizedMessage

        public java.lang.String getLocalizedMessage()
        Overrides standard error method to allow encapsulated throwable to provide message.
        Overrides:
        getLocalizedMessage in class java.lang.Throwable
      • getMessage

        public java.lang.String getMessage()
        Overrides standard error method to allow encapsulated throwable to provide message.
        Overrides:
        getMessage in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace()
        Overrides standard error method to allow encapsulated throwable to provide stacktrace.
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.PrintStream s)
        Overrides standard error method to allow encapsulated throwable to provide stacktrace.
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.PrintWriter s)
        Overrides standard error method to allow encapsulated throwable to provide stacktrace.
        Overrides:
        printStackTrace in class java.lang.Throwable
      • toString

        public java.lang.String toString()
        Overrides standard error method to allow encapsulated throwable to provide string.
        Overrides:
        toString in class java.lang.Throwable