public final class ContextRuntimeException extends FormattedRuntimeException
Constructor and Description |
---|
ContextRuntimeException(String message)
Deprecated.
|
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)
Deprecated.
|
getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ContextRuntimeException(Throwable cause, String message, Object... args)
cause
- The cause of this exception.message
- The MessageFormat
-style message.args
- Optional MessageFormat
-style arguments.public ContextRuntimeException(String message, Object... args)
message
- The error message.args
- Arguments passed in to the String.format()
method.public ContextRuntimeException(Throwable cause)
cause
- The initial cause of the exception.@Deprecated public ContextRuntimeException(String message)
ContextRuntimeException(String, Object...)
@Deprecated public ContextRuntimeException initCause(Throwable cause)
ContextRuntimeException(Throwable)
Copyright © 2018 Apache. All rights reserved.