Package com.luciad.ogc.wfs
Class TLcdWFSServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.luciad.ogc.common.TLcdOGCServiceException
com.luciad.ogc.wfs.TLcdWFSServiceException
- All Implemented Interfaces:
Serializable
Class for OGC WFS service exceptions.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
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
ConstructorDescriptionTLcdWFSServiceException
(int aCode) Constructor with an error code.TLcdWFSServiceException
(int aCode, String aLocator) Constructor with an code and locator.TLcdWFSServiceException
(String aMessage, int aCode) Constructor with an error message and code.TLcdWFSServiceException
(String aMessage, int aCode, String aLocator) Constructor with an error message, code and locator.TLcdWFSServiceException
(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
-
FILTER_ERROR
public static final int FILTER_ERROR- See Also:
-
FILTER_XML_ERROR
public static final int FILTER_XML_ERROR- See Also:
-
INCORRECT_FEATURE_TYPE
public static final int INCORRECT_FEATURE_TYPE- See Also:
-
INVALID_BBOX
public static final int INVALID_BBOX- See Also:
-
UNKNOWN_LOCK_ID
public static final int UNKNOWN_LOCK_ID- See Also:
-
INVALID_LOCK
public static final int INVALID_LOCK- See Also:
-
LOCK_FAILED
public static final int LOCK_FAILED- See Also:
-
INVALID_PROPERTY_NAME
public static final int INVALID_PROPERTY_NAME- See Also:
-
INVALID_TYPE_NAME
public static final int INVALID_TYPE_NAME- See Also:
-
UNKNOWN_TRANSACTION_OPERATION
public static final int UNKNOWN_TRANSACTION_OPERATION- See Also:
-
INVALID_RELEASE_ACTION
public static final int INVALID_RELEASE_ACTION- See Also:
-
UNSUPPORTED_OUTPUTFORMAT
public static final int UNSUPPORTED_OUTPUTFORMAT- See Also:
-
INVALID_RESULT_TYPE
public static final int INVALID_RESULT_TYPE- See Also:
-
UNSUPPORTED_INPUTFORMAT
public static final int UNSUPPORTED_INPUTFORMAT- See Also:
-
VERSION_NEGOTIATION_FAILED
public static final int VERSION_NEGOTIATION_FAILED- See Also:
-
MISSING_PARAMETER_VALUE
public static final int MISSING_PARAMETER_VALUE- See Also:
-
INVALID_PARAMETER_VALUE
public static final int INVALID_PARAMETER_VALUE- See Also:
-
OPERATION_NOT_SUPPORTED
public static final int OPERATION_NOT_SUPPORTED- See Also:
-
-
Constructor Details
-
TLcdWFSServiceException
public TLcdWFSServiceException(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.
-
TLcdWFSServiceException
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.
-
TLcdWFSServiceException
Constructor with an 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:
aCode
- the exception's error code.aLocator
- the location of the error in the client request
-
TLcdWFSServiceException
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
-
TLcdWFSServiceException
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.
-