|
||||||||||
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.vfny.geoserver.ServiceException org.vfny.geoserver.WmsException
This defines an exception that can be turned into a valid xml service exception that wms clients will expect. All errors should be wrapped in this before returning to clients.
Field Summary |
Fields inherited from class org.vfny.geoserver.ServiceException |
code, locator, preMessage |
Constructor Summary | |
WmsException()
Empty constructor. |
|
WmsException(java.lang.String message)
constructor with exception message |
|
WmsException(java.lang.String message,
java.lang.String locator)
Empty constructor. |
|
WmsException(java.lang.Throwable e)
Empty constructor. |
|
WmsException(java.lang.Throwable e,
java.lang.String preMessage,
java.lang.String locator)
DOCUMENT ME! |
Method Summary | |
java.lang.String |
getXmlResponse(boolean printStackTrace)
Return request type. |
Methods inherited from class org.vfny.geoserver.ServiceException |
getXmlMessage, 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 |
Constructor Detail |
public WmsException()
public WmsException(java.lang.String message)
message
- The message for the exceptionpublic WmsException(java.lang.Throwable e)
e
- The message for the .public WmsException(java.lang.String message, java.lang.String locator)
message
- The message for the .locator
- The message for the .public WmsException(java.lang.Throwable e, java.lang.String preMessage, java.lang.String locator)
e
- The message for the .preMessage
- The message to tack on the front.locator
- The message for the .Method Detail |
public java.lang.String getXmlResponse(boolean printStackTrace)
getXmlResponse
in class ServiceException
printStackTrace
- whether the stack trace should be included.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |