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 SummaryConstructorsConstructorDescriptionConstructs 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 SummaryModifier 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.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
RMExceptionpublic RMException()Constructs a new RM exception with null as its detail message.
- 
RMExceptionConstructs a new RM exception with the specified detail message.
- 
RMExceptionConstructs a new RM exception with the specified detail message and cause.
- 
RMExceptionConstructs a new RM exception with the specified cause.
 
- 
- 
Method Details- 
getMessageOverride get message to forward to cause.- Overrides:
- getMessagein class- Throwable
 
- 
getRootCauseReturns the root cause of a throwable.
 
-