public class UIMA_IllegalArgumentException extends UIMARuntimeException
| Modifier and Type | Field and Description | 
|---|---|
| static String | ILLEGAL_ARGUMENTMessage key for a standard UIMA exception message: "Value "{0}" is not valid for argument "{1}"
 of method {2}." | 
| static String | METADATA_ATTRIBUTE_TYPE_MISMATCHMessage key for a standard UIMA exception message: "The value {0} does not match the data type
 of metadata attribute {1}." | 
| static String | MUST_IMPLEMENT_XMLIZABLEMessage key for a standard UIMA exception message: "An attempt was made to register class {0}
 with the XML parser. | 
CAS_RELEASED_TO_WRONG_CAS_MANAGER, COPY_CAS_RANGE_TYPE_NAMES_NOT_EQUAL, DEFINE_CAS_POOL_CALLED_TWICE, ECORE_UNRESOLVED_PROXY, FEATURE_NOT_FOUND_DURING_CAS_COPY, ILLEGAL_ADDING_OF_NEW_META_INFO_AFTER_CAS_DEFINED, ILLEGAL_CAS_COPY_TO_SAME_CAS, ILLEGAL_FS_FEAT_UPDATE, INCOMPATIBLE_TAF_JNI_LIBRARY, REQUESTED_TOO_MANY_CAS_INSTANCES, RESULT_SPEC_NULL, STANDARD_MESSAGE_CATALOG, TYPE_NOT_FOUND_DURING_CAS_COPY, UIMA_CONTEXT_NULL, UIMA_ECORE_NOT_FOUND, UNSUPPORTED_CAS_COPY_TO_OR_FROM_BASE_CAS, UNSUPPORTED_CAS_INTERFACE, VIEW_NOT_PART_OF_CAS| Constructor and Description | 
|---|
| UIMA_IllegalArgumentException()Creates a new exception with a null message. | 
| UIMA_IllegalArgumentException(String aMessageKey,
                             Object[] aArguments)Creates a new exception with a message from the  UIMARuntimeException.STANDARD_MESSAGE_CATALOG. | 
| UIMA_IllegalArgumentException(String aMessageKey,
                             Object[] aArguments,
                             Throwable aCause)Creates a new exception with the specified cause and a message from the
  UIMARuntimeException.STANDARD_MESSAGE_CATALOG. | 
| UIMA_IllegalArgumentException(String aResourceBundleName,
                             String aMessageKey,
                             Object[] aArguments)Creates a new exception with a the specified message. | 
| UIMA_IllegalArgumentException(String aResourceBundleName,
                             String aMessageKey,
                             Object[] aArguments,
                             Throwable aCause)Creates a new exception with the specified message and cause. | 
| UIMA_IllegalArgumentException(Throwable aCause)Creates a new exception with the specified cause and a null message. | 
getArguments, getCause, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getResourceBundleName, initCauseaddSuppressed, fillInStackTrace, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String ILLEGAL_ARGUMENT
public static final String METADATA_ATTRIBUTE_TYPE_MISMATCH
public static final String MUST_IMPLEMENT_XMLIZABLE
public UIMA_IllegalArgumentException()
public UIMA_IllegalArgumentException(Throwable aCause)
aCause - the original exception that caused this exception to be thrown, if anypublic UIMA_IllegalArgumentException(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_IllegalArgumentException(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_IllegalArgumentException(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_IllegalArgumentException(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 anyCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.