public final class BeanRuntimeException extends FormattedRuntimeException
Constructor and Description |
---|
BeanRuntimeException(Class<?> c,
String message,
Object... args)
Constructor.
|
BeanRuntimeException(String message)
Constructor.
|
BeanRuntimeException(String message,
Object... args)
Constructor.
|
BeanRuntimeException(Throwable cause)
Constructor.
|
BeanRuntimeException(Throwable cause,
Class<?> c,
String message,
Object... args)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
BeanRuntimeException |
initCause(Throwable cause)
Deprecated.
|
getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BeanRuntimeException(Throwable cause, Class<?> c, String message, Object... args)
cause
- The cause of this exception.c
- The class name of the bean that caused the exception.message
- The MessageFormat
-style message.args
- Optional MessageFormat
-style arguments.public BeanRuntimeException(String message)
message
- The error message.public BeanRuntimeException(String message, Object... args)
message
- The error message.args
- Arguments passed in to the String.format()
method.public BeanRuntimeException(Class<?> c, String message, Object... args)
c
- The class name of the bean that caused the exception.message
- The error message.args
- Arguments passed in to the String.format()
method.public BeanRuntimeException(Throwable cause)
cause
- The initial cause of the exception.@Deprecated public BeanRuntimeException initCause(Throwable cause)
Copyright © 2018 Apache. All rights reserved.