org.eclipse.webdav.internal.kernel
Class ServerException
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.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:
- 500 Internal Server Error
- 501 Not Implemented
- 502 Bad Gateway
- 503 Service Unavailable
- 504 Gateway Timeout
- 505 HTTP Version Not Supported
- See Also:
- Serialized Form
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. |
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 exceptionstatusMessage
- 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 exceptionstatusMessage
- a message describing the status code in the context of the exception
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.