|
Esri Geoportal Server 1.0
|
||||||||
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 java.lang.RuntimeException com.esri.gpt.server.csw.provider.components.OwsException
public class OwsException
An OGC-OWS related exception.
Field Summary | |
---|---|
static String |
OWSCODE_InvalidFormat
"InvalidFormat" - Request specifies a Format not offered by this server. |
static String |
OWSCODE_InvalidParameterValue
"InvalidParameterValue" - Request contains an invalid parameter value. |
static String |
OWSCODE_MissingParameterValue
"MissingParameterValue" - Request does not include a parameter value, and this server did not declare a default value for that parameter. |
static String |
OWSCODE_NoApplicableCode
"NoApplicableCode" - A code representing this exception has not been defined. |
static String |
OWSCODE_OperationNotSupported
"OperationNotSupported" - Request is for an operation that is not supported by this server. |
static String |
OWSCODE_VersionNegotiationFailed
"VersionNegotiationFailed" - List of versions in "acceptVersions" parameter value did not include any version supported by this server. |
Constructor Summary | |
---|---|
OwsException(String text)
Construct based upon an error message. |
|
OwsException(String code,
String locator,
String text)
Construct based upon a code, a locator and a text message. |
|
OwsException(String text,
Throwable cause)
Construct based upon an error message and a cause. |
|
OwsException(Throwable cause)
Construct based upon a cause. |
Method Summary | |
---|---|
String |
getCode()
Gets the code. |
String |
getLocator()
Gets the locator. |
String |
getMessage()
Gets the message associated with this exception. |
String |
getReport()
Creation an OWS ExceptionReport string (XML). |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 OWSCODE_InvalidFormat
public static final String OWSCODE_InvalidParameterValue
public static final String OWSCODE_MissingParameterValue
public static final String OWSCODE_NoApplicableCode
public static final String OWSCODE_OperationNotSupported
public static final String OWSCODE_VersionNegotiationFailed
Constructor Detail |
---|
public OwsException(String code, String locator, String text)
code
- the error codelocator
- the locatortext
- the error messagepublic OwsException(String text)
text
- the error messagepublic OwsException(Throwable cause)
cause
- the causepublic OwsException(String text, Throwable cause)
text
- the error messagecause
- the causeMethod Detail |
---|
public String getCode()
public String getLocator()
public String getMessage()
getMessage
in class Throwable
public String getReport()
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |