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:
 Serializable
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 Summary
ConstructorsConstructorDescriptionConstructs a new RM exception with null as its detail message.RMException(String aMessage) Constructs a new RM exception with the specified detail message.RMException(String aMessage, Throwable aCause) Constructs a new RM exception with the specified detail message and cause.RMException(Throwable aCause) Constructs a new RM exception with the specified cause. - 
Method Summary
Modifier and TypeMethodDescriptionOverride get message to forward to cause.static ThrowablegetRootCause(Throwable aThrowable) Returns the root cause of a throwable.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
RMException
public RMException()Constructs a new RM exception with null as its detail message. - 
RMException
Constructs a new RM exception with the specified detail message. - 
RMException
Constructs a new RM exception with the specified detail message and cause. - 
RMException
Constructs a new RM exception with the specified cause. 
 - 
 - 
Method Details
- 
getMessage
Override get message to forward to cause.- Overrides:
 getMessagein classThrowable
 - 
getRootCause
Returns the root cause of a throwable. 
 -