|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.geronimo.common.ParameterizedException
Allows for an exception to be formatted using a given list of parameters.
| Constructor Summary | |
ParameterizedException()
Default constructor. |
|
ParameterizedException(String message)
Exception with a given message. |
|
ParameterizedException(String message,
Object[] params)
Exception with a formatted message |
|
ParameterizedException(String message,
Object[] params,
Throwable ex)
Exception with a formatted message and root cause. |
|
ParameterizedException(String message,
Throwable cause)
Exception with a given message and root cause. |
|
ParameterizedException(Throwable cause)
Exception with a root cause. |
|
| Method Summary | |
static String |
getFormattedMessage(String message,
Object[] params)
Formats the given message |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ParameterizedException()
public ParameterizedException(String message)
message - unformatted message.
public ParameterizedException(String message,
Throwable cause)
message - unformatted message.cause - root cause of the exception.public ParameterizedException(Throwable cause)
cause - root cause of the exception.
public ParameterizedException(String message,
Object[] params)
params - message parametersMessageFormat
public ParameterizedException(String message,
Object[] params,
Throwable ex)
params - message parametersex - root causeMessageFormat| Method Detail |
public static String getFormattedMessage(String message,
Object[] params)
params - message parameters
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||