public class ServiceException extends SAXException
| Modifier and Type | Field and Description | 
|---|---|
| protected Throwable | cause | 
| static String | CURRENT_UPDATE_SEQUENCEValue of (optional) UpdateSequence parameter in GetCapabilities request is equal to current
 value of Capabilities XML update sequence number. | 
| static String | INVALID_CRSRequest contains a CRS not offered by the server for one or more of the Layers in the
 request. | 
| static String | INVALID_DIMENSION_VALUERequest contains an invalid sample dimension value. | 
| static String | INVALID_FORMATRequest contains a Format not offered by the service instance | 
| static String | INVALID_SRSRequest contains an SRS not offered by the service instance for one or more of the Layers in
 the request. | 
| static String | INVALID_UPDATE_SEQUENCEValue of (optional) UpdateSequence parameter in GetCapabilities request is greater than
 current value of Capabilities XML update sequence number. | 
| static String | LAYER_NOT_DEFINEDRequest is for a Layer not offered by the service instance. | 
| static String | LAYER_NOT_QUERYABLEGetFeatureInfo request is applied to a Layer which is not declared queryable. | 
| static String | MISSING_DIMENSION_VALUERequest does not include a sample dimension value, and the service instance did not declare a
 default value for that dimension. | 
| static String | OPERATION_NOT_SUPPORTEDRequest is for an optional operation that is not supported by the server. | 
| static String | STYLE_NOT_DEFINEDRequest is for a Layer in a Style not offered by the service instance. | 
| Constructor and Description | 
|---|
| ServiceException(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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Throwable | getCause() | 
| String | getCode() | 
| Exception | getException() | 
| String | getLocator() | 
| ServiceException | getNext() | 
| Throwable | initCause(Throwable cause) | 
| void | setNext(ServiceException next) | 
getMessage, toStringaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final String INVALID_FORMAT
public static final String INVALID_SRS
public static final String INVALID_CRS
public static final String LAYER_NOT_DEFINED
public static final String STYLE_NOT_DEFINED
public static final String LAYER_NOT_QUERYABLE
public static final String CURRENT_UPDATE_SEQUENCE
public static final String INVALID_UPDATE_SEQUENCE
public static final String MISSING_DIMENSION_VALUE
public static final String INVALID_DIMENSION_VALUE
public static final String OPERATION_NOT_SUPPORTED
protected Throwable cause
public ServiceException(String msg)
msg - MessageSAXException.SAXException(java.lang.String)public ServiceException(String msg, String code, String locator)
msg - Messagecode - Error Codelocator - Error LocationSAXException.SAXException(java.lang.String)public Throwable getCause()
getCause in class SAXExceptionpublic Exception getException()
getException in class SAXExceptionpublic String getCode()
public String getLocator()
public ServiceException getNext()
public void setNext(ServiceException next)
Copyright © 1996–2019 Geotools. All rights reserved.