org.eclipse.webdav.internal.kernel
Class RedirectionException

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

public class RedirectionException
extends WebDAVException

Represents exceptions that require further action by the user agent in order to fulfill the request.

Status codes:

See Also:
Serialized Form

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

RedirectionException

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

RedirectionException

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