org.eclipse.webdav.internal.kernel
Class ClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.webdav.internal.kernel.DAVException
org.eclipse.webdav.internal.kernel.WebDAVException
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:
- 400 Bad Request
- 401 Unauthorized
- 402 Payment Required
- 403 Forbidden
- 404 Not Found
- 405 Mothod Not Allowed
- 406 Not Acceptable
- 407 Proxy Authentication Required
- 408 Request Timeout
- 409 Conflict
- 410 Gone
- 411 Length Required
- 412 Precondition Failed
- 413 Request Entity Too Large
- 414 Request-URI Too Long
- 415 Unsupported Media Type
- 422 Unprocessable Entity
- 423 Locked
- 424 Method Failure
- 425 Insufficient Space on Resource
- See Also:
- Serialized Form
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. |
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 exceptionstatusMessage
- 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 exceptionstatusMessage
- a message describing the status code in the context of the exception
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.