public class RuntimeOperationsException extends JMRuntimeException
RuntimeOperationsException. Calling
getTargetException() will return the wrapped
exception.| Constructor and Description |
|---|
RuntimeOperationsException(java.lang.RuntimeException e)
Constructs a new
RuntimeOperationsException
wrapping the specified exception. |
RuntimeOperationsException(java.lang.RuntimeException e,
java.lang.String message)
Constructs a new
RuntimeOperationsException
wrapping the specified exception and using the supplied
message. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Returns the true cause of this exception, the wrapped
exception.
|
java.lang.RuntimeException |
getTargetException()
Returns the true cause of this exception, the wrapped
exception.
|
public RuntimeOperationsException(java.lang.RuntimeException e)
RuntimeOperationsException
wrapping the specified exception.e - the exception to be wrapped.public RuntimeOperationsException(java.lang.RuntimeException e, java.lang.String message)
RuntimeOperationsException
wrapping the specified exception and using the supplied
message.e - the exception to be wrapped.message - the error message to give to the user.public java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic java.lang.RuntimeException getTargetException()