Class RMException

All Implemented Interfaces:
Serializable

public class RMException extends RuntimeException
A simple subclass of RuntimeException that RM uses to indicate errors that don't always really need to be declared or caught.
See Also:
  • Constructor Details

    • RMException

      public RMException()
      Constructs a new RM exception with null as its detail message.
    • RMException

      public RMException(String aMessage)
      Constructs a new RM exception with the specified detail message.
    • RMException

      public RMException(String aMessage, Throwable aCause)
      Constructs a new RM exception with the specified detail message and cause.
    • RMException

      public RMException(Throwable aCause)
      Constructs a new RM exception with the specified cause.
  • Method Details

    • getMessage

      public String getMessage()
      Override get message to forward to cause.
      Overrides:
      getMessage in class Throwable
    • getRootCause

      public static Throwable getRootCause(Throwable aThrowable)
      Returns the root cause of a throwable.