public final class ContextRuntimeException extends FormattedRuntimeException
Constructor and Description |
---|
ContextRuntimeException(String message)
Constructor.
|
ContextRuntimeException(String message,
Object... args)
Constructor.
|
ContextRuntimeException(Throwable cause)
Constructor.
|
ContextRuntimeException(Throwable cause,
String message,
Object... args)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ContextRuntimeException |
initCause(Throwable cause)
Sets the inner cause for this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ContextRuntimeException(String message)
message
- The error message.public ContextRuntimeException(String message, Object... args)
message
- The error message.args
- Arguments passed in to the String.format()
method.public ContextRuntimeException(Throwable cause, String message, Object... args)
cause
- The initial cause of the exception.message
- The error message.args
- Arguments passed in to the String.format()
method.public ContextRuntimeException(Throwable cause)
cause
- The initial cause of the exception.public ContextRuntimeException initCause(Throwable cause)
Copyright © 2018 Apache. All rights reserved.