org.eclipse.webdav.internal.kernel
Class ClientException

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.ClientException
All Implemented Interfaces:
Serializable

public class ClientException
extends WebDAVException

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

Status codes:

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.webdav.internal.kernel.WebDAVException
data
 
Constructor Summary
ClientException(int statusCode, String statusMessage)
          Construct a ClientException with a status code and simple message.
ClientException(int statusCode, String statusMessage, Object data)
          Construct a ClientException 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

ClientException

public ClientException(int statusCode,
                       String statusMessage)
Construct a ClientException 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

ClientException

public ClientException(int statusCode,
                       String statusMessage,
                       Object data)
Construct a ClientException 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.