public class CogrooException extends InternationalizedException
| Modifier and Type | Field and Description |
|---|---|
static String |
STANDARD_MESSAGE_CATALOG |
| Constructor and Description |
|---|
CogrooException()
Creates a new exception with a null message.
|
CogrooException(String aMessageKey,
Object[] aArguments)
Creates a new exception with a message from the
STANDARD_MESSAGE_CATALOG. |
CogrooException(String aMessageKey,
Object[] aArguments,
Throwable aCause)
Creates a new exception with the specified cause and a message from the
STANDARD_MESSAGE_CATALOG. |
CogrooException(String aResourceBundleName,
String aMessageKey,
Object[] aArguments)
Creates a new exception with a the specified message.
|
CogrooException(String aResourceBundleName,
String aMessageKey,
Object[] aArguments,
Throwable aCause)
Creates a new exception with the specified message and cause.
|
CogrooException(Throwable aCause)
Creates a new exception with the specified cause and a null message.
|
getArguments, getCause, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getResourceBundleName, hasMessageKey, initCauseaddSuppressed, fillInStackTrace, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String STANDARD_MESSAGE_CATALOG
public CogrooException()
public CogrooException(Throwable aCause)
aCause - the original exception that caused this exception to be thrown, if
anypublic CogrooException(String aResourceBundleName, String aMessageKey, Object[] aArguments)
aResourceBundleName - the base name of the resource bundle in which the message for this
exception is located.aMessageKey - an identifier that maps to the message for this exception. The
message may contain placeholders for arguments as defined by the
MessageFormat class.aArguments - The arguments to the message. null may be used if the
message has no arguments.public CogrooException(String aResourceBundleName, String aMessageKey, Object[] aArguments, Throwable aCause)
aResourceBundleName - the base name of the resource bundle in which the message for this
exception is located.aMessageKey - an identifier that maps to the message for this exception. The
message may contain placeholders for arguments as defined by the
MessageFormat class.aArguments - The arguments to the message. null may be used if the
message has no arguments.aCause - the original exception that caused this exception to be thrown, if
anypublic CogrooException(String aMessageKey, Object[] aArguments)
STANDARD_MESSAGE_CATALOG.aMessageKey - an identifier that maps to the message for this exception. The
message may contain placeholders for arguments as defined by the
MessageFormat class.aArguments - The arguments to the message. null may be used if the
message has no arguments.public CogrooException(String aMessageKey, Object[] aArguments, Throwable aCause)
STANDARD_MESSAGE_CATALOG.aMessageKey - an identifier that maps to the message for this exception. The
message may contain placeholders for arguments as defined by the
MessageFormat class.aArguments - The arguments to the message. null may be used if the
message has no arguments.aCause - the original exception that caused this exception to be thrown, if
anyCopyright © 2012–2017 CoGrOO. All rights reserved.