|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.deegree.protocol.ows.exception.OWSException
public class OWSException
OGC Web Service Exception for all OGC service related errors.
Field Summary | |
---|---|
static String |
CURRENT_UPDATE_SEQUENCE
what the text says |
static String |
INVALID_CRS
|
static String |
INVALID_DATE
the date is not parsable |
static String |
INVALID_FORMAT
the parameter value of the format parameter is invalid |
static String |
INVALID_PARAMETER_VALUE
the parameter value is invalid |
static String |
INVALID_POINT
|
static String |
INVALID_SRS
what the text says |
static String |
INVALID_UPDATE_SEQUENCE
updateSequence value is greater than the current value |
static String |
LAYER_NOT_DEFINED
the layer is not defined |
static String |
MISSING_PARAMETER_VALUE
a required parameter is missing |
static String |
NO_APPLICABLE_CODE
exception code for all not known exceptions |
static String |
OPERATION_NOT_SUPPORTED
the requested operation is not supported |
static String |
OPTION_NOT_SUPPORTED
the requested option is not supported |
static String |
STYLE_NOT_DEFINED
what the text says |
static String |
VERSION_NEGOTIATION_FAILED
server doesn't support any of the requested AcceptVersions |
Constructor Summary | |
---|---|
OWSException(InvalidParameterValueException cause)
Creates a new OWSException from an InvalidParameterValueException . |
|
OWSException(List<String> messages,
String exceptionCode,
String locator)
|
|
OWSException(MissingParameterException cause)
Creates a new OWSException from an MissingParameterException . |
|
OWSException(String message,
String exceptionCode)
Create a new OWSException. |
|
OWSException(String message,
String exceptionCode,
String locator)
Create a new OWSException. |
|
OWSException(String message,
Throwable cause,
String exceptionCode)
Create a new OWSException. |
Method Summary | |
---|---|
String |
getExceptionCode()
|
String |
getLocator()
|
List<String> |
getMessages()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String MISSING_PARAMETER_VALUE
public static final String INVALID_PARAMETER_VALUE
public static final String INVALID_FORMAT
public static final String LAYER_NOT_DEFINED
public static final String STYLE_NOT_DEFINED
public static final String INVALID_SRS
public static final String INVALID_CRS
public static final String INVALID_POINT
public static final String VERSION_NEGOTIATION_FAILED
public static final String INVALID_UPDATE_SEQUENCE
public static final String CURRENT_UPDATE_SEQUENCE
public static final String OPERATION_NOT_SUPPORTED
public static final String OPTION_NOT_SUPPORTED
public static final String INVALID_DATE
public static final String NO_APPLICABLE_CODE
Constructor Detail |
---|
public OWSException(String message, String exceptionCode)
message
- the exception textexceptionCode
- defining a machine readable code.public OWSException(String message, Throwable cause, String exceptionCode)
message
- the exception textcause
- of this exception to happen.exceptionCode
- defining a machine readable code.public OWSException(String message, String exceptionCode, String locator)
message
- the exception textexceptionCode
- defining a machine readable code.locator
- the exception locationpublic OWSException(List<String> messages, String exceptionCode, String locator)
public OWSException(InvalidParameterValueException cause)
OWSException
from an InvalidParameterValueException
.
cause
- causing exceptionpublic OWSException(MissingParameterException cause)
OWSException
from an MissingParameterException
.
cause
- causing exceptionMethod Detail |
---|
public final String getLocator()
public final String getExceptionCode()
public final List<String> getMessages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |