public class SimpleServerException
extends org.apache.uima.InternationalizedException
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.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
incorrect_feature_syntax |
static java.lang.String |
incorrect_path_syntax |
static java.lang.String |
path_never_valid |
static java.lang.String |
service_state_exception |
static java.lang.String |
type_does_not_exist |
static java.lang.String |
uima_initialization_error |
static java.lang.String |
validation_warning |
static java.lang.String |
value_must_be_set |
static java.lang.String |
value_must_not_be_set |
Constructor and Description |
---|
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).
|
getArguments, getCause, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getResourceBundleName, hasMessageKey, initCause
public static final java.lang.String incorrect_path_syntax
public static final java.lang.String incorrect_feature_syntax
public static final java.lang.String value_must_not_be_set
public static final java.lang.String value_must_be_set
public static final java.lang.String type_does_not_exist
public static final java.lang.String path_never_valid
public static final java.lang.String validation_warning
public static final java.lang.String service_state_exception
public static final java.lang.String uima_initialization_error
public SimpleServerException(java.lang.String messageKey, java.lang.Object[] arguments)
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.public SimpleServerException(java.lang.String messageKey, java.lang.Object[] arguments, java.lang.Throwable cause)
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 © 2013. All Rights Reserved.