|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.uima.InternationalizedRuntimeException org.apache.uima.UIMARuntimeException org.apache.uima.UIMA_UnsupportedOperationException
public class UIMA_UnsupportedOperationException
Thrown to indicate that the requested operation is not supported. This extends
RuntimeException
and so does not need to be delcared in the throws clause of
methods.
Field Summary | |
---|---|
static String |
CAS_MULTIPLIER_NOT_SUPPORTED
Message key for a standard UIMA exception message: "The Flow class {0} does not support the production of new CASes in the middle of the flow and so cannot be deployed in an Aggregate AnalysisEngine that includes a CAS Multiplier component." |
static String |
NOT_MODIFIABLE
Message key for a standard UIMA exception message: "Attribute {0} of class {1} is not modifiable." |
static String |
SHARED_RESOURCE_NOT_RECONFIGURABLE
Message key for a standard UIMA exception message: "This is a shared resource and cannot be reconfigured." |
static String |
UNSUPPORTED_METHOD
Message key for a standard UIMA exception message: "Class {0} does not support method {1}." |
Constructor Summary | |
---|---|
UIMA_UnsupportedOperationException()
Creates a new exception with a null message. |
|
UIMA_UnsupportedOperationException(String aMessageKey,
Object[] aArguments)
Creates a new exception with a message from the UIMARuntimeException.STANDARD_MESSAGE_CATALOG . |
|
UIMA_UnsupportedOperationException(String aMessageKey,
Object[] aArguments,
Throwable aCause)
Creates a new exception with the specified cause and a message from the UIMARuntimeException.STANDARD_MESSAGE_CATALOG . |
|
UIMA_UnsupportedOperationException(String aResourceBundleName,
String aMessageKey,
Object[] aArguments)
Creates a new exception with a the specified message. |
|
UIMA_UnsupportedOperationException(String aResourceBundleName,
String aMessageKey,
Object[] aArguments,
Throwable aCause)
Creates a new exception with the specified message and cause. |
|
UIMA_UnsupportedOperationException(Throwable aCause)
Creates a new exception with the specified cause and a null message. |
Method Summary |
---|
Methods inherited from class org.apache.uima.InternationalizedRuntimeException |
---|
getArguments, getCause, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getResourceBundleName, initCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String UNSUPPORTED_METHOD
public static final String NOT_MODIFIABLE
public static final String SHARED_RESOURCE_NOT_RECONFIGURABLE
public static final String CAS_MULTIPLIER_NOT_SUPPORTED
Constructor Detail |
---|
public UIMA_UnsupportedOperationException()
public UIMA_UnsupportedOperationException(Throwable aCause)
aCause
- the original exception that caused this exception to be thrown, if anypublic UIMA_UnsupportedOperationException(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 UIMA_UnsupportedOperationException(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 UIMA_UnsupportedOperationException(String aMessageKey, Object[] aArguments)
UIMARuntimeException.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 UIMA_UnsupportedOperationException(String aMessageKey, Object[] aArguments, Throwable aCause)
UIMARuntimeException.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 any
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |