|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A web feature server has to handle two classes of errors; exceptions that are generated during the processing of a WFS request (such as parsing the request) and exceptions that are generated during the execution of a WFS request (such as a transaction failure). This section deals with exceptions generated during the processing of a WFS request.
Exceptions encountered during request execution are dealt with in subsequent sections. In the event that a web feature server encounters an error while processing a request, it shall generate an XML document indicating that an error has occurred.
The <WFS_Exception> tag can delimit one or more exception.details. Individual exceptions are delimited using the <Exception> tag.
The optional <Locator%gt; element is used to indicate where an
exception was encountered. A number of elements defined in this
document include a handle attribute that can be used to uniquely
identify an element. If such a handle exists, its value would be
reported using the
The <Message> element is used to delimit any messages associated with an exception
Method Summary | |
java.lang.String |
getLocator()
returns the class/service that has caused the exception |
java.lang.String |
getMessage()
returns the error message |
Method Detail |
public java.lang.String getLocator()
public java.lang.String getMessage()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |