public final class ClassMetaRuntimeException extends FormattedRuntimeException
Constructor and Description |
---|
ClassMetaRuntimeException(Class<?> c,
String message,
Object... args)
Shortcut for calling
|
ClassMetaRuntimeException(String message)
Constructor.
|
ClassMetaRuntimeException(String message,
Object... args)
Constructor.
|
ClassMetaRuntimeException(Throwable cause)
Constructor.
|
ClassMetaRuntimeException(Throwable cause,
Class<?> c,
String message,
Object... args)
Constructor.
|
getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClassMetaRuntimeException(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 ClassMetaRuntimeException(String message)
message
- The error message.public ClassMetaRuntimeException(String message, Object... args)
message
- The error message.args
- Arguments passed in to the String.format()
method.public ClassMetaRuntimeException(Class<?> c, String message, Object... args)
new ClassMetaRuntimeException(String.format(c.getName() + ": " + message, 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 ClassMetaRuntimeException(Throwable cause)
cause
- The initial cause of the exception.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.