public class ExceptionCode
extends java.lang.Object
Constructor and Description |
---|
ExceptionCode(java.lang.String exceptionCode)
Create new ExceptionCode
|
ExceptionCode(java.lang.String exceptionCode,
java.lang.String description,
int httpErrorCode)
Create new ExceptionCode
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getExceptionCode() |
int |
getHttpErrorCode() |
java.lang.String |
getLocator() |
ExceptionCode |
locator(java.lang.String locator)
Use this to set the locator on the fly, while passing the exception code
|
void |
setLocator(java.lang.String locator) |
java.lang.String |
toString() |
public static final ExceptionCode BadResponseHandler
public static final ExceptionCode InternalComponentError
public static final ExceptionCode InternalSqlError
public static final ExceptionCode InvalidEncodingSyntax
public static final ExceptionCode InvalidAxisLabel
public static final ExceptionCode InvalidMetadata
public static final ExceptionCode InvalidParameterValue
public static final ExceptionCode InvalidPropertyValue
public static final ExceptionCode InvalidRequest
public static final ExceptionCode InvalidServiceConfiguration
public static final ExceptionCode InvalidSubsetting
public static final ExceptionCode InvalidTemporalMetadata
public static final ExceptionCode InvalidUpdateSequence
public static final ExceptionCode IOConnectionError
public static final ExceptionCode MaliciousQuery
public static final ExceptionCode MissingParameterValue
public static final ExceptionCode MultiBandImagesNotSupported
public static final ExceptionCode NoApplicableCode
public static final ExceptionCode NodeParsingNotImplemented
public static final ExceptionCode NoSuchCoverage
public static final ExceptionCode NotEnoughStorage
public static final ExceptionCode OperationNotSupported
public static final ExceptionCode OptionNotSupported
public static final ExceptionCode RasdamanRequestFailed
public static final ExceptionCode RasdamanUnavailable
public static final ExceptionCode RasdamanError
public static final ExceptionCode ResourceError
public static final ExceptionCode RuntimeError
public static final ExceptionCode ServletConnectionError
public static final ExceptionCode UnknownError
public static final ExceptionCode UnsupportedCombination
public static final ExceptionCode VersionNegotiationFailed
public static final ExceptionCode XmlNotValid
public static final ExceptionCode XmlStructuresError
public static final ExceptionCode WcpsError
public static final ExceptionCode WcsError
public static final ExceptionCode WcstError
public static final ExceptionCode WpsError
public static final ExceptionCode NotASubsettingCrs
public static final ExceptionCode SubsettingCrsNotSupported
public static final ExceptionCode NotAnOutputCrs
public static final ExceptionCode OutputCrsNotSupported
public static final ExceptionCode MultipleRangeSubsets
public static final ExceptionCode NoSuchField
public static final ExceptionCode InvalidCoverageType
public static final ExceptionCode InvalidScaleFactor
public static final ExceptionCode InvalidExtent
public static final ExceptionCode ScaleAxisUndefined
public ExceptionCode(java.lang.String exceptionCode)
exceptionCode
- Code representing type of this exceptionpublic ExceptionCode(java.lang.String exceptionCode, java.lang.String description, int httpErrorCode)
exceptionCode
- Code representing type of this exceptiondescription
- Exception code descriptionlocator
- Indicator of location in the client's operation request
where this exception was encounteredhttpErrorCode
- HTTP response code, when the exception is returned
over HTTPpublic ExceptionCode locator(java.lang.String locator)
locator
- Indicator of location in the client's operation request
where this exception was encounteredpublic java.lang.String getDescription()
public java.lang.String getExceptionCode()
public int getHttpErrorCode()
public java.lang.String getLocator()
public void setLocator(java.lang.String locator)
locator
- Indicator of location in the client's operation request
where this exception was encounteredpublic java.lang.String toString()
toString
in class java.lang.Object