com.ithit.webdav.server.exceptions
Class ServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ithit.webdav.server.exceptions.DavException
              extended by com.ithit.webdav.server.exceptions.ServerException
All Implemented Interfaces:
java.io.Serializable

public class ServerException
extends DavException

See Also:
Serialized Form

Constructor Summary
ServerException()
          Initializes new instance.
ServerException(java.lang.String message)
          Initializes new instance.
ServerException(java.lang.String message, java.lang.String ns, java.lang.String elName)
          Initializes new instance.
ServerException(java.lang.String message, java.lang.Throwable throwable)
          Initializes new instance.
ServerException(java.lang.String message, java.lang.Throwable throwable, java.lang.String ns, java.lang.String elName)
          Initializes new instance.
ServerException(java.lang.String message, java.lang.Throwable throwable, WebDavStatus status)
          Initializes new instance.
ServerException(java.lang.String message, java.lang.Throwable throwable, WebDavStatus status, java.lang.String ns, java.lang.String elName)
          Initializes new instance.
ServerException(java.lang.String message, WebDavStatus status)
          Initializes new instance.
ServerException(java.lang.String message, WebDavStatus status, java.lang.String ns, java.lang.String elName)
          Initializes new instance.
ServerException(java.lang.Throwable throwable)
          Initializes new instance.
ServerException(java.lang.Throwable throwable, WebDavStatus status)
          Initializes new instance.
ServerException(WebDavStatus status)
          Initializes new instance.
 
Method Summary
 
Methods inherited from class com.ithit.webdav.server.exceptions.DavException
getLocalName, getNamespace, getStatus, setLocalName, setNamespace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerException

public ServerException()
Initializes new instance.


ServerException

public ServerException(WebDavStatus status)
Initializes new instance.

Parameters:
status - WebDAV status code.

ServerException

public ServerException(java.lang.String message)
Initializes new instance.

Parameters:
message - exception text.

ServerException

public ServerException(java.lang.String message,
                       WebDavStatus status)
Initializes new instance.

Parameters:
message - exception text.
status - WebDAV status code.

ServerException

public ServerException(java.lang.String message,
                       java.lang.Throwable throwable)
Initializes new instance.

Parameters:
message - exception text.
throwable - originalException.

ServerException

public ServerException(java.lang.String message,
                       java.lang.Throwable throwable,
                       WebDavStatus status)
Initializes new instance.

Parameters:
message - exception text.
throwable - originalException.
status - WebDAV status code.

ServerException

public ServerException(java.lang.Throwable throwable,
                       WebDavStatus status)
Initializes new instance.

Parameters:
throwable - originalException.
status - WebDAV status code.

ServerException

public ServerException(java.lang.Throwable throwable)
Initializes new instance.

Parameters:
throwable - originalException.

ServerException

public ServerException(java.lang.String message,
                       java.lang.String ns,
                       java.lang.String elName)
Initializes new instance.

Parameters:
message - message.
ns - Namespace of XML element that will be sent to client in HTTP response so it can identify error more precisely.
elName - Name of element.

ServerException

public ServerException(java.lang.String message,
                       WebDavStatus status,
                       java.lang.String ns,
                       java.lang.String elName)
Initializes new instance.

Parameters:
message - message.
status - WebDAV status code.
ns - Namespace of XML element that will be sent to client in HTTP response so it can identify error more precisely.
elName - Name of element.

ServerException

public ServerException(java.lang.String message,
                       java.lang.Throwable throwable,
                       java.lang.String ns,
                       java.lang.String elName)
Initializes new instance.

Parameters:
message - message.
throwable - original exception.
ns - Namespace of XML element that will be sent to client in HTTP response so it can identify error more precisely.
elName - Name of element.

ServerException

public ServerException(java.lang.String message,
                       java.lang.Throwable throwable,
                       WebDavStatus status,
                       java.lang.String ns,
                       java.lang.String elName)
Initializes new instance.

Parameters:
message - message.
throwable - original exception.
status - WebDAV status code.
ns - Namespace of XML element that will be sent to client in HTTP response so it can identify error more precisely.
elName - Name of element.


Copyright © 2009 ITHit. All Rights Reserved.