public class ExceptionMessageGenerator
extends java.lang.Object
Constructor and Description |
---|
ExceptionMessageGenerator() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
buildMessage(java.lang.Class exceptionClass,
int errorNumber,
java.lang.Object[] arguments)
Return the message for the given exception class and error number.
|
protected static java.lang.String |
format(java.lang.String message,
java.lang.Object[] arguments)
Return the formatted message for the given exception class and error number.
|
static java.lang.String |
getHeader(java.lang.String headerLabel)
Get one of the generic headers used for the exception's toString().
|
static java.lang.ClassLoader |
getLoader()
Return the loader for loading the resource bundles.
|
public static java.lang.ClassLoader getLoader()
public static java.lang.String buildMessage(java.lang.Class exceptionClass, int errorNumber, java.lang.Object[] arguments)
protected static java.lang.String format(java.lang.String message, java.lang.Object[] arguments)
public static java.lang.String getHeader(java.lang.String headerLabel)