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:
- 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
Methods inherited from class org.apache.uima.InternationalizedException |
getArguments, getCause, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getResourceBundleName, hasMessageKey, initCause |
incorrect_path_syntax
public static final String incorrect_path_syntax
- See Also:
- Constant Field Values
incorrect_feature_syntax
public static final String incorrect_feature_syntax
- See Also:
- Constant Field Values
value_must_not_be_set
public static final String value_must_not_be_set
- See Also:
- Constant Field Values
value_must_be_set
public static final String value_must_be_set
- See Also:
- Constant Field Values
type_does_not_exist
public static final String type_does_not_exist
- See Also:
- Constant Field Values
path_never_valid
public static final String path_never_valid
- See Also:
- Constant Field Values
validation_warning
public static final String validation_warning
- See Also:
- Constant Field Values
service_state_exception
public static final String service_state_exception
- See Also:
- Constant Field Values
uima_initialization_error
public static final String uima_initialization_error
- See Also:
- Constant Field Values
SimpleServerException
public SimpleServerException(String messageKey,
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(String messageKey,
Object[] arguments,
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 © 2006-2011 The Apache Software Foundation. All Rights Reserved.