Package org.apache.juneau
Class ContextRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.juneau.BasicRuntimeException
org.apache.juneau.ContextRuntimeException
- All Implemented Interfaces:
Serializable
General runtime operation exception that can occur in any of the context classes.
See Also:
-
Constructor Summary
ConstructorDescriptionContextRuntimeException
(String message, Object... args) Constructor.ContextRuntimeException
(Throwable cause) Constructor.ContextRuntimeException
(Throwable cause, String message, Object... args) Constructor. -
Method Summary
Methods inherited from class org.apache.juneau.BasicRuntimeException
assertModifiable, fillInStackTrace, getCause, getMessage, initCause, isUnmodifiable, setMessage, setStackTrace, setUnmodifiable, unwrap
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, toString
-
Constructor Details
-
ContextRuntimeException
Constructor.- Parameters:
cause
- The cause of this exception.message
- TheMessageFormat
-style message.args
- OptionalMessageFormat
-style arguments.
-
ContextRuntimeException
Constructor.- Parameters:
message
- The error message.args
- Arguments passed in to theString.format()
method.
-
ContextRuntimeException
Constructor.- Parameters:
cause
- The initial cause of the exception.
-