Package com.luciad.ogc.wcs
Class TLcdWCSServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.luciad.ogc.common.TLcdOGCServiceException
com.luciad.ogc.wcs.TLcdWCSServiceException
- All Implemented Interfaces:
Serializable
Class for OGC WCS service exceptions.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Exception code value for DescribeCoverage operation: An empty list of identifiers was passed as input argument, while at least one identifier is required.static final int
Exception code for GetCoverage operation: The dimension subsetting operation specified an axis label that does not exist in the Envelopy or has been used more than once in the GetCoverage request.static final int
static final String
static final int
Exception code for a GetCoverage request that contains an invalid subsetting value; either a trim or slice parameter value is outside the extent of the coverage or, in a trim operation, a lower bound is above the upper bound.static final String
Exception description for a GetCoverage request that contains an invalid subsetting value; either a trim or slice parameter value is outside the extent of the coverage or, in a trim operation, a lower bound is above the upper bound.static final int
static final String
static final int
Exception code for a DescribeCoverage or GetCoverage request that contains an identifier/coverage name that does not match with any of the coverages offered by the server.static final String
Exception description for a DescribeCoverage or GetCoverage request that contains an identifier/coverage name that does not match with any of the coverages offered by the server.static final int
static final String
static final int
static final String
Fields inherited from class com.luciad.ogc.common.TLcdOGCServiceException
AUTHENTICATION_REQUIRED, AUTHENTICATION_REQUIRED_STR, CONFIG_ERROR, CONFIG_ERROR_STR, CURRENT_UPDATE_SEQUENCE, INVALID_REQUEST, INVALID_REQUEST_STR, INVALID_UPDATE_SEQUENCE, NOT_AUTHORIZED, NOT_AUTHORIZED_STR, REQUEST_XML_ERROR, REQUEST_XML_ERROR_STR, UNKNOWN_REQUEST, UNKNOWN_REQUEST_STR
-
Constructor Summary
ConstructorDescriptionTLcdWCSServiceException
(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. -
Method Summary
Modifier and TypeMethodDescriptiongetCodeAsAString
(int aCode) Returns a string describing the given error code.Methods inherited from class com.luciad.ogc.common.TLcdOGCServiceException
addException, addException, getCode, getExceptions, getLocator, getMessage, getMimeType, getServiceName, getServiceVersion
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
UNKNOWN_COVERAGE
public static final int UNKNOWN_COVERAGE- See Also:
-
IO_ERROR
public static final int IO_ERROR- See Also:
-
VERSION_NEGOTIATION_FAILED
public static final int VERSION_NEGOTIATION_FAILED- See Also:
-
INVALID_PARAMETER_VALUE
public static final int INVALID_PARAMETER_VALUE- See Also:
-
UNKNOWN_COVERAGE_STR
- See Also:
-
IO_ERROR_STR
- See Also:
-
VERSION_NEGOTIATION_FAILED_STR
- See Also:
-
INVALID_PARAMETER_VALUE_STR
- See Also:
-
EMPTY_COVERAGE_ID_LIST
public static final int EMPTY_COVERAGE_ID_LISTException code value for DescribeCoverage operation: An empty list of identifiers was passed as input argument, while at least one identifier is required.- Since:
- 2024.0
- See Also:
-
INVALID_AXIS_LABEL
public static final int INVALID_AXIS_LABELException code for GetCoverage operation: The dimension subsetting operation specified an axis label that does not exist in the Envelopy or has been used more than once in the GetCoverage request. Should return HTTP = 404- Since:
- 2024.0
- See Also:
-
INVALID_SUBSETTING
public static final int INVALID_SUBSETTINGException code for a GetCoverage request that contains an invalid subsetting value; either a trim or slice parameter value is outside the extent of the coverage or, in a trim operation, a lower bound is above the upper bound.- Since:
- 2024.0
- See Also:
-
INVALID_SUBSETTING_STR
Exception description for a GetCoverage request that contains an invalid subsetting value; either a trim or slice parameter value is outside the extent of the coverage or, in a trim operation, a lower bound is above the upper bound.- Since:
- 2024.0
- See Also:
-
NO_SUCH_COVERAGE
public static final int NO_SUCH_COVERAGEException code for a DescribeCoverage or GetCoverage request that contains an identifier/coverage name that does not match with any of the coverages offered by the server.- Since:
- 2024.0
- See Also:
-
NO_SUCH_COVERAGE_STR
Exception description for a DescribeCoverage or GetCoverage request that contains an identifier/coverage name that does not match with any of the coverages offered by the server.- Since:
- 2024.0
- See Also:
-
-
Constructor Details
-
TLcdWCSServiceException
public TLcdWCSServiceException(int aCode) Constructor with an error code. The given exception information is converted to aTLcdOWSException
and added to the list of exceptions. This list can be retrieved throughTLcdOGCServiceException.getExceptions()
.- Parameters:
aCode
- the exception's error code.
-
TLcdWCSServiceException
Constructor with an error message and code. The given exception information is converted to aTLcdOWSException
and added to the list of exceptions. This list can be retrieved throughTLcdOGCServiceException.getExceptions()
.- Parameters:
aMessage
- the error messageaCode
- the exception's error code.
-
TLcdWCSServiceException
Constructor with an error message, code and locator. The given exception information is converted to aTLcdOWSException
and added to the list of exceptions. This list can be retrieved throughTLcdOGCServiceException.getExceptions()
.- Parameters:
aMessage
- the error messageaCode
- the exception's error code.aLocator
- the location of the error in the client request
-
TLcdWCSServiceException
Constructor with an error message, code, locator and service information. The given exception information is converted to aTLcdOWSException
and added to the list of exceptions. This list can be retrieved throughTLcdOGCServiceException.getExceptions()
.- Parameters:
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.
-
-
Method Details
-
getCodeAsAString
Description copied from class:TLcdOGCServiceException
Returns a string describing the given error code.- Overrides:
getCodeAsAString
in classTLcdOGCServiceException
- Parameters:
aCode
- the exception's error code- Returns:
- a string describing the given error code.
-