public class JNDIException extends J2EEException
Constructor and Description |
---|
JNDIException()
Default Constructor.
|
JNDIException(java.lang.String resourceBundleName,
java.lang.String messageKey,
java.lang.Object[] formatArguments,
java.lang.String defaultText)
Constructor with a localized message.
|
JNDIException(java.lang.String resourceBundleName,
java.lang.String messageKey,
java.lang.Object[] formatArguments,
java.lang.String defaultText,
java.lang.Throwable exception)
Constructor with a localized message and a chained exception.
|
JNDIException(java.lang.Throwable exception)
Constructor with a chained exception.
|
addProperties, addProperties, addProperty, dumpException, getClassSource, getDefaultMessage, getFormatArguments, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getMethodSource, getPreviousException, getProperties, getResourceBundleName, setClassSource, setDefaultMessage, setFormatArguments, setMessageKey, setMethodSource, setPreviousException, setProperties, setResourceBundleName
public JNDIException()
Default Constructor.
public JNDIException(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] formatArguments, java.lang.String defaultText)
Constructor with a localized message.
resourceBundleName
- the name of the resource bundle to be used to generate a localized
exception messagemessageKey
- the key to identify the resource to generate a localized exceptionformatArguments
- an array of arguments to build the localized messagedefaultText
- the message that is shown if the localized message cannot be generatedpublic JNDIException(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] formatArguments, java.lang.String defaultText, java.lang.Throwable exception)
Constructor with a localized message and a chained exception.
resourceBundleName
- the name of the resource bundle to be used to generate a localized
exception messagemessageKey
- the key to identify the resource to generate a localized exceptionformatArguments
- an array of arguments to build the localized messagedefaultText
- the message that is shown if the localized message cannot be generatedexception
- the exception to be chainedpublic JNDIException(java.lang.Throwable exception)
Constructor with a chained exception.
exception
- the exception to be chained