public class WcsException
extends java.lang.Exception
ExceptionCode | Meaning of code | locator value |
OperationNotSupported | Request is for an operation that is not supported by this server | Name of operation not supported. |
MissingParameterValue | Operation request does not include a parameter value, and this server did not declare a default value for that parameter | Name of missing parameter |
InvalidParameterValue | Operation request contains an invalid parameter value. | Name of parameter with invalid value |
VersionNegotiationFailed | List of versions in "AcceptVersions" parameter value in GetCapabilities operation request did not include any version supported by this server. | None, omit "locator" parameter |
InvalidUpdateSequence | Value of (optional) updateSequence parameter in GetCapabilities operation request is greater than current value of service metadata updateSequence number | None, omit "locator" parameter |
OptionNotSupported | Request is for an option that is not supported by this server. | Identifier of option not supported |
NoApplicableCode | No other exceptionCode specified by this service and server applies to this exception. | None, omit locator parameter |
Modifier and Type | Field and Description |
---|---|
static int |
INVALID_PARAMETER_VALUE
InvalidParameterValue: Operation request contains an invalid parameter
value.
|
static int |
INVALID_UPDATE_SEQUENCE
InvalidUpdateSequence: Value of (optional) updateSequence parameter in
GetCapabilities operation request is greater than current value of
service metadata updateSequence number.
|
static int |
MISSING_PARAMETER_VALUE
MissingParameterValue: Operation request does not include a parameter
value, and this server did not declare a default value for that
parameter.
|
static int |
NO_APPLICABLE_CODE
NoApplicableCode: No other exceptionCode specified by this service
and server applies to this exception.
|
static int |
OPERATION_NOT_SUPPORTED
OperationNotSupported: Request is for an operation that is not supported
by this server.
|
static int |
VERSION_NEGOTIATION_FAILED
VersionNegotiationFailed: List of versions in AcceptVersions parameter
value in GetCapabilities operation request did not include any version
supported by this server.
|
Constructor and Description |
---|
WcsException(java.lang.String s,
int exceptionCode) |
WcsException(java.lang.String s,
int exceptionCode,
java.lang.String locator) |
Modifier and Type | Method and Description |
---|---|
org.jdom.Element |
getExceptionElement() |
int |
getHttpStatusCode() |
java.lang.String |
getMessage() |
void |
setHttpStatusCode(int code) |
public static final int OPERATION_NOT_SUPPORTED
public static final int MISSING_PARAMETER_VALUE
public static final int INVALID_PARAMETER_VALUE
public static final int VERSION_NEGOTIATION_FAILED
public static final int INVALID_UPDATE_SEQUENCE
public static final int NO_APPLICABLE_CODE