org.apache.uima.simpleserver
Class SimpleServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.uima.InternationalizedException
org.apache.uima.simpleserver.SimpleServerException
- All Implemented Interfaces:
- java.io.Serializable
public class SimpleServerException
- extends org.apache.uima.InternationalizedException
Simple server exception class.
Message keys are defined as public string constants. Note: to know how many arguments a message
takes, you need to look at the message properties file. This information is not captured in this
class.
- See Also:
- Serialized Form
Constructor Summary |
SimpleServerException(java.lang.String messageKey,
java.lang.Object[] arguments)
Constructor for creating exception from scratch. |
SimpleServerException(java.lang.String messageKey,
java.lang.Object[] arguments,
java.lang.Throwable cause)
Constructor for creating exception from existing exception (for rethrow). |
Methods inherited from class org.apache.uima.InternationalizedException |
getArguments, getCause, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getResourceBundleName, hasMessageKey, 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 |
incorrect_path_syntax
public static final java.lang.String incorrect_path_syntax
- See Also:
- Constant Field Values
incorrect_feature_syntax
public static final java.lang.String incorrect_feature_syntax
- See Also:
- Constant Field Values
value_must_not_be_set
public static final java.lang.String value_must_not_be_set
- See Also:
- Constant Field Values
value_must_be_set
public static final java.lang.String value_must_be_set
- See Also:
- Constant Field Values
type_does_not_exist
public static final java.lang.String type_does_not_exist
- See Also:
- Constant Field Values
path_never_valid
public static final java.lang.String path_never_valid
- See Also:
- Constant Field Values
validation_warning
public static final java.lang.String validation_warning
- See Also:
- Constant Field Values
service_state_exception
public static final java.lang.String service_state_exception
- See Also:
- Constant Field Values
uima_initialization_error
public static final java.lang.String uima_initialization_error
- See Also:
- Constant Field Values
SimpleServerException
public SimpleServerException(java.lang.String messageKey,
java.lang.Object[] arguments)
- Constructor for creating exception from scratch.
- Parameters:
messageKey
- The message key. Use one of the constants defined in this class.arguments
- An array of message arguments. Check the message properties file to see how many
and what kind of arguments are expected.
SimpleServerException
public SimpleServerException(java.lang.String messageKey,
java.lang.Object[] arguments,
java.lang.Throwable cause)
- Constructor for creating exception from existing exception (for rethrow).
- Parameters:
messageKey
- The message key. Use one of the constants defined in this class.arguments
- An array of message arguments. Check the message properties file to see how many
and what kind of arguments are expected.cause
- Root cause of this exception.
Copyright © 2011. All Rights Reserved.