public class ExceptionMessageGenerator extends Object
Constructor and Description |
---|
ExceptionMessageGenerator() |
Modifier and Type | Method and Description |
---|---|
static String |
buildMessage(Class exceptionClass,
int errorNumber,
Object[] arguments)
Return the message for the given exception class and error number.
|
protected static String |
format(String message,
Object[] arguments)
Return the formatted message for the given exception class and error number.
|
static String |
getHeader(String headerLabel)
Get one of the generic headers used for the exception's toString().
|
static ClassLoader |
getLoader()
Return the loader for loading the resource bundles.
|
public static ClassLoader getLoader()
public static String buildMessage(Class exceptionClass, int errorNumber, Object[] arguments)
protected static String format(String message, Object[] arguments)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.