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

Public Member Functions | Static Public Attributes | Static Private Attributes

org::apache::uima::UIMARuntimeException Class Reference

Inheritance diagram for org::apache::uima::UIMARuntimeException:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::UIMARuntimeException:
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 ()
synchronized Throwable initCause (Throwable cause)
 UIMARuntimeException (String aMessageKey, Object[] aArguments, Throwable aCause)
 UIMARuntimeException (String aResourceBundleName, String aMessageKey, Object[] aArguments)
 UIMARuntimeException ()
 UIMARuntimeException (String aMessageKey, Object[] aArguments)
 UIMARuntimeException (String aResourceBundleName, String aMessageKey, Object[] aArguments, Throwable aCause)
 UIMARuntimeException (Throwable aCause)

Static Public Attributes

static final String CAS_RELEASED_TO_WRONG_CAS_MANAGER = "cas_released_to_wrong_cas_manager"
static final String DEFINE_CAS_POOL_CALLED_TWICE = "define_cas_pool_called_twice"
static final String ECORE_UNRESOLVED_PROXY = "ecore_unresolved_proxy"
static final String FEATURE_NOT_FOUND_DURING_CAS_COPY = "feature_not_found_during_cas_copy"
static final String INCOMPATIBLE_TAF_JNI_LIBRARY = "incompatible_taf_jni_library"
static final String REQUESTED_TOO_MANY_CAS_INSTANCES = "requested_too_many_cas_instances"
static final String STANDARD_MESSAGE_CATALOG = "org.apache.uima.UIMAException_Messages"
static final String TYPE_NOT_FOUND_DURING_CAS_COPY = "type_not_found_during_cas_copy"
static final String UIMA_ECORE_NOT_FOUND = "uima_ecore_not_found"
static final String UNSUPPORTED_CAS_INTERFACE = "unsupported_cas_interface"

Static Private Attributes

static final long serialVersionUID = 6738051692628592989L

Detailed Description

This is the superclass for all runtime exceptions in UIMA. Runtime exceptions do not need to be declared in the throws clause of methods.

UIMARuntimeException extends InternationalizedRuntimeException for internationalization support. Since UIMA Runtime 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 40 of file UIMARuntimeException.java.


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

Generated by  Doxygen 1.6.0   Back to index