|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.esri.gpt.server.csw.components.OwsException
public class OwsException
An OGC-OWS related exception.
| Field Summary | |
|---|---|
static String |
DEFAULT_BUNDLE_BASE_NAME
Default resource bundle that should be looked at |
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_UnexpectedStatus
"VersionNegotiationFailed" - List of versions in "acceptVersions" parameter value did not include any version 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()
Deprecated. replaced by getReport(OperationContext) |
String |
getReport(OperationContext context)
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 DEFAULT_BUNDLE_BASE_NAME
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
public static final String OWSCODE_UnexpectedStatus
| 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 cause
public OwsException(String text,
Throwable cause)
text - the error messagecause - the cause| Method Detail |
|---|
public String getCode()
public String getLocator()
public String getMessage()
getMessage in class Throwablepublic String getReport()
getReport(OperationContext)
public String getReport(OperationContext context)
context - the operation context
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||