public class TLcdWCSServiceException extends TLcdOGCServiceException
Modifier and Type | Field and Description |
---|---|
static int |
INVALID_PARAMETER_VALUE |
static String |
INVALID_PARAMETER_VALUE_STR |
static int |
IO_ERROR |
static String |
IO_ERROR_STR |
static int |
UNKNOWN_COVERAGE |
static String |
UNKNOWN_COVERAGE_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 |
---|
TLcdWCSServiceException(int aCode)
Constructor with an error code.
|
TLcdWCSServiceException(String aMessage,
int aCode)
Constructor with an error message and code.
|
TLcdWCSServiceException(String aMessage,
int aCode,
String aLocator)
Constructor with an error message, code and locator.
|
TLcdWCSServiceException(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 aCode)
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 UNKNOWN_COVERAGE
public static final int IO_ERROR
public static final int VERSION_NEGOTIATION_FAILED
public static final int INVALID_PARAMETER_VALUE
public static final String UNKNOWN_COVERAGE_STR
public static final String IO_ERROR_STR
public static final String VERSION_NEGOTIATION_FAILED_STR
public static final String INVALID_PARAMETER_VALUE_STR
public TLcdWCSServiceException(int aCode)
TLcdOWSException
and added to the list of exceptions. This list can be retrieved through
TLcdOGCServiceException.getExceptions()
.aCode
- the exception's error code.public TLcdWCSServiceException(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 TLcdWCSServiceException(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 TLcdWCSServiceException(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 aCode)
TLcdOGCServiceException
getCodeAsAString
in class TLcdOGCServiceException
aCode
- the exception's error code