|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.vfny.geoserver.ServiceException
org.vfny.geoserver.WfsException
org.vfny.geoserver.responses.wfs.WfsTransactionException
This exception can turn itself into the appropriate WFS_TransactionResponse xml, allowing transaction classes to throw exceptions that can be reported back to the clients.
| Field Summary | |
protected java.lang.String |
handle
handle of the transaction request |
protected java.lang.Exception |
standardException
the standard exception that was thrown |
| Fields inherited from class org.vfny.geoserver.ServiceException |
code, locator, preMessage |
| Constructor Summary | |
WfsTransactionException()
Empty constructor. |
|
WfsTransactionException(java.lang.Exception e,
java.lang.String preMessage,
java.lang.String locator)
Constructor for an exception, messages and handles. |
|
WfsTransactionException(java.lang.String message)
Constructor for message and handle. |
|
WfsTransactionException(java.lang.String message,
java.lang.String locator)
DOCUMENT ME! |
|
WfsTransactionException(java.lang.String message,
java.lang.String locator,
java.lang.String handle)
DOCUMENT ME! |
|
WfsTransactionException(java.lang.Throwable cause)
Constructor for an exception and a handle. |
|
| Method Summary | |
java.lang.String |
getXmlResponse(Request gs)
Returns a WFS_TransactionResponse xml string indicating the failure. |
void |
setHandle(java.lang.String handle)
sets the handle, can be used when the initial handle is wrong. |
| Methods inherited from class org.vfny.geoserver.ServiceException |
getXmlMessage, getXmlResponse, getXmlResponse, isEmpty, setCode |
| 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 |
protected java.lang.Exception standardException
protected java.lang.String handle
| Constructor Detail |
public WfsTransactionException()
public WfsTransactionException(java.lang.String message)
message - indicates to the user what went wrong.public WfsTransactionException(java.lang.Throwable cause)
cause - indicates to the user what went wrong.
public WfsTransactionException(java.lang.String message,
java.lang.String locator)
message - indicates to the user what went wrong.locator - The message for the .
public WfsTransactionException(java.lang.String message,
java.lang.String locator,
java.lang.String handle)
message - indicates to the user what went wrong.locator - The message for the .handle - the string of the transaction that failed.
public WfsTransactionException(java.lang.Exception e,
java.lang.String preMessage,
java.lang.String locator)
e - the root exception.preMessage - more information about exception.locator - indicates to the user what went wrong.| Method Detail |
public void setHandle(java.lang.String handle)
handle - DOCUMENT ME!public java.lang.String getXmlResponse(Request gs)
gs - DOCUMENT ME!
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||