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.
|
getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, 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.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.