Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Static Public Attributes | Static Private Attributes

org::apache::uima::UIMAException Class Reference

Inheritance diagram for org::apache::uima::UIMAException:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::UIMAException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Object[] getArguments ()
Throwable getCause ()
String getLocalizedMessage ()
String getLocalizedMessage (Locale aLocale)
String getMessage ()
String getMessageKey ()
String getResourceBundleName ()
boolean hasMessageKey (String messageKey)
synchronized Throwable initCause (Throwable cause)
 UIMAException ()
 UIMAException (Throwable aCause)
 UIMAException (String aMessageKey, Object[] aArguments, Throwable aCause)
 UIMAException (String aResourceBundleName, String aMessageKey, Object[] aArguments)
 UIMAException (String aResourceBundleName, String aMessageKey, Object[] aArguments, Throwable aCause)
 UIMAException (String aMessageKey, Object[] aArguments)

Static Public Attributes

static final String STANDARD_MESSAGE_CATALOG = "org.apache.uima.UIMAException_Messages"

Static Private Attributes

static final long serialVersionUID = 7521732353239537026L

Detailed Description

This is the superclass for all exceptions in UIMA.

UIMAException extends InternationalizedException for internationalization support. Since UIMA Exceptions are internationalized, the thrower does not supply a hardcoded message. Instead, the thrower specifies a key that identifies the message. That key is then looked up in a locale-specific ResourceBundle to find the actual message associated with this exception.

The thrower may specify the name of the ResourceBundle in which to find the exception message. Any name may be used. If the name is omitted, the resource bundle identified by STANDARD_MESSAGE_CATALOG will be used. This contains the standard UIMA exception messages.

Definition at line 38 of file UIMAException.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index