org.eclipse.webdav.internal.kernel
Class ServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.webdav.internal.kernel.DAVException
              extended by org.eclipse.webdav.internal.kernel.WebDAVException
                  extended by org.eclipse.webdav.internal.kernel.ServerException
All Implemented Interfaces:
Serializable

public class ServerException
extends WebDAVException

Represents exceptions that can happen on the server as the result of a server error.

Status codes:

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.webdav.internal.kernel.WebDAVException
data
 
Constructor Summary
ServerException(int statusCode, String statusMessage)
          Construct a ServerException with a status code and simple message.
ServerException(int statusCode, String statusMessage, Object data)
          Construct a ServerException with a status code and simple message.
 
Method Summary
 
Methods inherited from class org.eclipse.webdav.internal.kernel.WebDAVException
getData, getStatusCode, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerException

public ServerException(int statusCode,
                       String statusMessage)
Construct a ServerException with a status code and simple message.

Parameters:
statusCode - the WebDAV status code corresponding to the exception
statusMessage - a message describing the status code in the context of the exception

ServerException

public ServerException(int statusCode,
                       String statusMessage,
                       Object data)
Construct a ServerException with a status code and simple message.

Parameters:
statusCode - the WebDAV status code corresponding to the exception
statusMessage - a message describing the status code in the context of the exception


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.