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 String |
incorrect_feature_syntax |
static String |
incorrect_path_syntax |
static String |
path_never_valid |
static String |
service_state_exception |
static String |
type_does_not_exist |
static String |
uima_initialization_error |
static String |
validation_warning |
static String |
value_must_be_set |
static String |
value_must_not_be_set |
Constructor and Description |
---|
SimpleServerException(String messageKey,
Object[] arguments)
Constructor for creating exception from scratch.
|
SimpleServerException(String messageKey,
Object[] arguments,
Throwable cause)
Constructor for creating exception from existing exception (for rethrow).
|
getArguments, getCause, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageKey, getResourceBundleName, hasMessageKey, initCause
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String incorrect_path_syntax
public static final String incorrect_feature_syntax
public static final String value_must_not_be_set
public static final String value_must_be_set
public static final String type_does_not_exist
public static final String path_never_valid
public static final String validation_warning
public static final String service_state_exception
public static final String uima_initialization_error
public SimpleServerException(String messageKey, 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(String messageKey, Object[] arguments, 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 © 2006–2016 The Apache Software Foundation. All rights reserved.