public class RuntimeErrorException extends JMRuntimeException
RuntimeErrorException. Calling
getTargetError() will return the wrapped
exception.| Constructor and Description |
|---|
RuntimeErrorException(java.lang.Error e)
Constructs a new
RuntimeErrorException wrapping
the specified error. |
RuntimeErrorException(java.lang.Error e,
java.lang.String message)
Constructs a new
RuntimeErrorException wrapping
the specified error and using the supplied message. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Returns the true cause of this error, the wrapped
error.
|
java.lang.Error |
getTargetError()
Returns the true cause of this error, the wrapped
error.
|
public RuntimeErrorException(java.lang.Error e)
RuntimeErrorException wrapping
the specified error.e - the error to be wrapped.public RuntimeErrorException(java.lang.Error e, java.lang.String message)
RuntimeErrorException wrapping
the specified error and using the supplied message.e - the error 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.Error getTargetError()