org.alfresco.repo.webdav
Class WebDAVServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.alfresco.repo.webdav.WebDAVServerException
All Implemented Interfaces:
java.io.Serializable

public class WebDAVServerException
extends java.lang.Exception

Exception class that represents an error in the WebDAV protocol layer

See Also:
Serialized Form

Constructor Summary
WebDAVServerException(int httpStatusCode)
          Constructs a WebDAVException
WebDAVServerException(int httpStatusCode, java.lang.Throwable cause)
          Constructs a WebDAVException
 
Method Summary
 java.lang.Throwable getCause()
          Returns the cause of this exception
 int getHttpStatusCode()
          Returns the HTTP status code
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

WebDAVServerException

public WebDAVServerException(int httpStatusCode)
Constructs a WebDAVException

Parameters:
httpStatusCode - The HTTP status code

WebDAVServerException

public WebDAVServerException(int httpStatusCode,
                             java.lang.Throwable cause)
Constructs a WebDAVException

Parameters:
httpStatusCode - The HTTP status code
cause - The cause of this exception
Method Detail

getHttpStatusCode

public int getHttpStatusCode()
Returns the HTTP status code

Returns:
The HTTP status code

getCause

public java.lang.Throwable getCause()
Returns the cause of this exception

Overrides:
getCause in class java.lang.Throwable
Returns:
The cause of this exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable
See Also:
Object.toString()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.