public class TLcdCSWServiceException extends TLcdOGCServiceException
Modifier and Type | Field and Description |
---|---|
static int |
INVALID_PARAMETER_NAME |
static String |
INVALID_PARAMETER_NAME_STR |
static int |
INVALID_PARAMETER_VALUE |
static String |
INVALID_PARAMETER_VALUE_STR |
static int |
INVALID_USER_ID |
static String |
INVALID_USER_ID_STR |
static int |
MISSING_PARAMETER_VALUE |
static String |
MISSING_PARAMETER_VALUE_STR |
static int |
NO_APPLICABLE_CODE |
static String |
NO_APPLICABLE_CODE_STR |
static int |
NONEXISTENT_COLLECTION_TYPE |
static String |
NONEXISTENT_COLLECTION_TYPE_STR |
static int |
RESOURCE_NOT_FOUND |
static String |
RESOURCE_NOT_FOUND_STR |
static int |
TRANSACTION_FAILED |
static String |
TRANSACTION_FAILED_STR |
static int |
UNRECOGNIZED_COLLECTION_IDENTIFIER |
static String |
UNRECOGNIZED_COLLECTION_IDENTIFIER_STR |
static int |
VERSION_NEGOTIATION_FAILED |
static String |
VERSION_NEGOTIATION_FAILED_STR |
AUTHENTICATION_REQUIRED, AUTHENTICATION_REQUIRED_STR, CONFIG_ERROR, CONFIG_ERROR_STR, INVALID_REQUEST, INVALID_REQUEST_STR, NOT_AUTHORIZED, NOT_AUTHORIZED_STR, REQUEST_XML_ERROR, REQUEST_XML_ERROR_STR, UNKNOWN_REQUEST, UNKNOWN_REQUEST_STR
Constructor and Description |
---|
TLcdCSWServiceException(String aMessage,
int aCode)
Constructor with an error message and code.
|
TLcdCSWServiceException(String aMessage,
int aCode,
String aLocator)
Constructor with an error message, code and locator.
|
TLcdCSWServiceException(String aMessage,
int aCode,
String aLocator,
String aServiceVersion)
Constructor with an error message, code, locator and service information.
|
Modifier and Type | Method and Description |
---|---|
String |
getCodeAsAString(int i)
Returns a string describing the given error code.
|
addException, addException, getCode, getExceptions, getLocator, getMessage, getMimeType, getServiceName, getServiceVersion
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int INVALID_PARAMETER_VALUE
public static final int MISSING_PARAMETER_VALUE
public static final int NONEXISTENT_COLLECTION_TYPE
public static final int UNRECOGNIZED_COLLECTION_IDENTIFIER
public static final int INVALID_PARAMETER_NAME
public static final int TRANSACTION_FAILED
public static final int RESOURCE_NOT_FOUND
public static final int INVALID_USER_ID
public static final int VERSION_NEGOTIATION_FAILED
public static final int NO_APPLICABLE_CODE
public static final String INVALID_PARAMETER_VALUE_STR
public static final String MISSING_PARAMETER_VALUE_STR
public static final String NONEXISTENT_COLLECTION_TYPE_STR
public static final String UNRECOGNIZED_COLLECTION_IDENTIFIER_STR
public static final String INVALID_PARAMETER_NAME_STR
public static final String TRANSACTION_FAILED_STR
public static final String RESOURCE_NOT_FOUND_STR
public static final String INVALID_USER_ID_STR
public static final String VERSION_NEGOTIATION_FAILED_STR
public static final String NO_APPLICABLE_CODE_STR
public TLcdCSWServiceException(String aMessage, int aCode)
TLcdOWSException
and added to the list of exceptions. This list can be retrieved through
TLcdOGCServiceException.getExceptions()
.aMessage
- the error messageaCode
- the exception's error code.public TLcdCSWServiceException(String aMessage, int aCode, String aLocator)
TLcdOWSException
and added to the list of exceptions. This list can be retrieved through
TLcdOGCServiceException.getExceptions()
.aMessage
- the error messageaCode
- the exception's error code.aLocator
- the location of the error in the client requestpublic TLcdCSWServiceException(String aMessage, int aCode, String aLocator, String aServiceVersion)
TLcdOWSException
and added to the list of exceptions. This list can be retrieved through
TLcdOGCServiceException.getExceptions()
.aMessage
- the error messageaCode
- the exception's error code.aLocator
- the location of the error in the client requestaServiceVersion
- the version of the service that generated the exception.public String getCodeAsAString(int i)
TLcdOGCServiceException
getCodeAsAString
in class TLcdOGCServiceException
i
- the exception's error code