org.vfny.geoserver
Class WfsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.vfny.geoserver.ServiceException
              extended byorg.vfny.geoserver.WfsException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
WfsTransactionException

public class WfsException
extends ServiceException

This defines an exception that can be turned into a valid xml service exception that wfs clients will expect. All errors should be wrapped in this before returning to clients.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.vfny.geoserver.ServiceException
code, locator, preMessage
 
Constructor Summary
WfsException()
          Empty constructor.
WfsException(java.lang.String message)
          Message constructor.
WfsException(java.lang.String message, java.lang.String locator)
          Message Locator constructor.
WfsException(java.lang.String message, java.lang.Throwable cause)
           
WfsException(java.lang.Throwable e)
          Throwable constructor.
WfsException(java.lang.Throwable e, java.lang.String preMessage, java.lang.String locator)
          DOCUMENT ME!
 
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
 

Constructor Detail

WfsException

public WfsException()
Empty constructor.


WfsException

public WfsException(java.lang.String message)
Message constructor.

Parameters:
message - The message for the .

WfsException

public WfsException(java.lang.Throwable e)
Throwable constructor.

Parameters:
e - The message for the .

WfsException

public WfsException(java.lang.String message,
                    java.lang.String locator)
Message Locator constructor.

Parameters:
message - The message for the .
locator - The java class that caused the problem

WfsException

public WfsException(java.lang.String message,
                    java.lang.Throwable cause)

WfsException

public WfsException(java.lang.Throwable e,
                    java.lang.String preMessage,
                    java.lang.String locator)
DOCUMENT ME!

Parameters:
e - The cause of failure
preMessage - The message to tack on the front.
locator - The java class that caused the problem