Package com.inductiveautomation.rm.base
Class RMException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.inductiveautomation.rm.base.RMException
-
- All Implemented Interfaces:
java.io.Serializable
public class RMException extends java.lang.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RMException()
Constructs a new RM exception with null as its detail message.RMException(java.lang.String aMessage)
Constructs a new RM exception with the specified detail message.RMException(java.lang.String aMessage, java.lang.Throwable aCause)
Constructs a new RM exception with the specified detail message and cause.RMException(java.lang.Throwable aCause)
Constructs a new RM exception with the specified cause.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Override get message to forward to cause.static java.lang.Throwable
getRootCause(java.lang.Throwable aThrowable)
Returns the root cause of a throwable.
-
-
-
Constructor Detail
-
RMException
public RMException()
Constructs a new RM exception with null as its detail message.
-
RMException
public RMException(java.lang.String aMessage)
Constructs a new RM exception with the specified detail message.
-
RMException
public RMException(java.lang.String aMessage, java.lang.Throwable aCause)
Constructs a new RM exception with the specified detail message and cause.
-
RMException
public RMException(java.lang.Throwable aCause)
Constructs a new RM exception with the specified cause.
-
-