public final class ContextRuntimeException extends FormattedRuntimeException
Constructor and Description |
---|
ContextRuntimeException(String message,
Object... args)
Constructor.
|
ContextRuntimeException(Throwable cause)
Constructor.
|
ContextRuntimeException(Throwable cause,
String message,
Object... args)
Constructor.
|
getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, 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.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.