Class ServerException

All Implemented Interfaces:
Serializable

public class ServerException extends DavException
See Also:
  • Constructor Details

    • ServerException

      public ServerException()
      Initializes new instance.
    • ServerException

      public ServerException(int extendedError)
      Initializes new instance.
      Parameters:
      extendedError - Extended error code used in X-MSDAVEXT_ERROR header.
    • ServerException

      public ServerException(WebDavStatus status)
      Initializes new instance.
      Parameters:
      status - WebDAV status code.
    • ServerException

      public ServerException(WebDavStatus status, int extendedError)
      Initializes new instance.
      Parameters:
      status - WebDAV status code.
      extendedError - Extended error code used in X-MSDAVEXT_ERROR header.
    • ServerException

      public ServerException(String message)
      Initializes new instance.
      Parameters:
      message - Exception text.
    • ServerException

      public ServerException(String message, int extendedError)
      Initializes new instance.
      Parameters:
      message - Exception text.
      extendedError - Extended error code used in X-MSDAVEXT_ERROR header.
    • ServerException

      public ServerException(String message, WebDavStatus status)
      Initializes new instance.
      Parameters:
      message - Exception text.
      status - WebDAV status code.
    • ServerException

      public ServerException(String message, WebDavStatus status, int extendedError)
      Initializes new instance.
      Parameters:
      message - Exception text.
      status - WebDAV status code.
      extendedError - Extended error code used in X-MSDAVEXT_ERROR header.
    • ServerException

      public ServerException(String message, Throwable throwable)
      Initializes new instance.
      Parameters:
      message - Exception text.
      throwable - OriginalException.
    • ServerException

      public ServerException(String message, Throwable throwable, int extendedError)
      Initializes new instance.
      Parameters:
      message - Exception text.
      throwable - OriginalException.
      extendedError - Extended error code used in X-MSDAVEXT_ERROR header.
    • ServerException

      public ServerException(String message, Throwable throwable, WebDavStatus status)
      Initializes new instance.
      Parameters:
      message - Exception text.
      throwable - OriginalException.
      status - WebDAV status code.
    • ServerException

      public ServerException(String message, Throwable throwable, WebDavStatus status, int extendedError)
      Initializes new instance.
      Parameters:
      message - Exception text.
      throwable - OriginalException.
      status - WebDAV status code.
      extendedError - Extended error code used in X-MSDAVEXT_ERROR header.
    • ServerException

      public ServerException(Throwable throwable, WebDavStatus status)
      Initializes new instance.
      Parameters:
      throwable - OriginalException.
      status - WebDAV status code.
    • ServerException

      public ServerException(Throwable throwable, WebDavStatus status, int extendedError)
      Initializes new instance.
      Parameters:
      throwable - OriginalException.
      status - WebDAV status code.
      extendedError - Extended error code used in X-MSDAVEXT_ERROR header.
    • ServerException

      public ServerException(Throwable throwable)
      Initializes new instance.
      Parameters:
      throwable - OriginalException.
    • ServerException

      public ServerException(Throwable throwable, int extendedError)
      Initializes new instance.
      Parameters:
      throwable - OriginalException.
      extendedError - Extended error code used in X-MSDAVEXT_ERROR header.
    • ServerException

      public ServerException(String message, String ns, 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(String message, String ns, String elName, int extendedError)
      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.
      extendedError - Extended error code used in X-MSDAVEXT_ERROR header.
    • ServerException

      public ServerException(String message, WebDavStatus status, String ns, 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(String message, WebDavStatus status, String ns, String elName, int extendedError)
      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.
      extendedError - Extended error code used in X-MSDAVEXT_ERROR header.
    • ServerException

      public ServerException(String message, Throwable throwable, String ns, 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(String message, Throwable throwable, String ns, String elName, int extendedError)
      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.
      extendedError - Extended error code used in X-MSDAVEXT_ERROR header.
    • ServerException

      public ServerException(String message, Throwable throwable, WebDavStatus status, String ns, 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.
    • ServerException

      public ServerException(String message, Throwable throwable, WebDavStatus status, String ns, String elName, int extendedError)
      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.
      extendedError - Extended error code used in X-MSDAVEXT_ERROR header.