Package org.geotools.ows
Class ServiceException
Object
Throwable
Exception
SAXException
ServiceException
- All Implemented Interfaces:
Serializable
- Author:
- dzwiers
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Throwable
static final String
Value of (optional) UpdateSequence parameter in GetCapabilities request is equal to current value of Capabilities XML update sequence number.static final String
Request contains a CRS not offered by the server for one or more of the Layers in the request.static final String
Request contains an invalid sample dimension value.static final String
Request contains a Format not offered by the service instancestatic final String
Request contains an SRS not offered by the service instance for one or more of the Layers in the request.static final String
Value of (optional) UpdateSequence parameter in GetCapabilities request is greater than current value of Capabilities XML update sequence number.static final String
Request is for a Layer not offered by the service instance.static final String
GetFeatureInfo request is applied to a Layer which is not declared queryable.static final String
Request does not include a sample dimension value, and the service instance did not declare a default value for that dimension.static final String
Request is for an optional operation that is not supported by the server.static final String
Request is for a Layer in a Style not offered by the service instance. -
Constructor Summary
ConstructorsConstructorDescriptionServiceException
(String msg) ServiceException
(String msg, String code) ServiceException
(String msg, String code, String locator) Passes the message to the parent, or the code if the message is null. -
Method Summary
Modifier and TypeMethodDescriptiongetCause()
getCode()
getNext()
void
setNext
(ServiceException next) Methods inherited from class SAXException
getMessage, toString
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
INVALID_FORMAT
Request contains a Format not offered by the service instance- See Also:
-
INVALID_SRS
Request contains an SRS not offered by the service instance for one or more of the Layers in the request.- See Also:
-
INVALID_CRS
Request contains a CRS not offered by the server for one or more of the Layers in the request.- See Also:
-
LAYER_NOT_DEFINED
Request is for a Layer not offered by the service instance.- See Also:
-
STYLE_NOT_DEFINED
Request is for a Layer in a Style not offered by the service instance.- See Also:
-
LAYER_NOT_QUERYABLE
GetFeatureInfo request is applied to a Layer which is not declared queryable.- See Also:
-
CURRENT_UPDATE_SEQUENCE
Value of (optional) UpdateSequence parameter in GetCapabilities request is equal to current value of Capabilities XML update sequence number.- See Also:
-
INVALID_UPDATE_SEQUENCE
Value of (optional) UpdateSequence parameter in GetCapabilities request is greater than current value of Capabilities XML update sequence number.- See Also:
-
MISSING_DIMENSION_VALUE
Request does not include a sample dimension value, and the service instance did not declare a default value for that dimension.- See Also:
-
INVALID_DIMENSION_VALUE
Request contains an invalid sample dimension value.- See Also:
-
OPERATION_NOT_SUPPORTED
Request is for an optional operation that is not supported by the server.- See Also:
-
cause
-
-
Constructor Details
-
ServiceException
- Parameters:
msg
- Message- See Also:
-
ServiceException
-
ServiceException
Passes the message to the parent, or the code if the message is null.- Parameters:
msg
- Messagecode
- Error Codelocator
- Error Location- See Also:
-
-
Method Details
-
initCause
-
getCause
- Overrides:
getCause
in classSAXException
-
getException
- Overrides:
getException
in classSAXException
-
getCode
- Returns:
- String the error code, such as 404-Not Found
-
getLocator
- Returns:
- String the location of the error, useful for parse errors
-
getNext
-
setNext
-