Class CalDavException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CalDavAuthenticationException, CalDavDeadlineException, CalDavForbiddenException, CalDavNotFoundException, CalDavProviderMissingException, CalDavSubjectMismatchException, CalDavUnreachableException

public class CalDavException extends RuntimeException
The one failure the CalDAV client throws for protocol and transport trouble: the server unreachable, an answer outside the accepted statuses of the verb, a body that is not DAV XML, or a target this client refuses to address. The message never carries credentials or any request header — only the method and the URI — so it is safe to log and to surface.
See Also:
  • Constructor Details

    • CalDavException

      public CalDavException(String message)
      A failure explained by its message alone.
      Parameters:
      message - what went wrong, in server-and-URL terms
    • CalDavException

      public CalDavException(String message, Throwable cause)
      A failure wrapping its transport or parsing cause.
      Parameters:
      message - what went wrong, in server-and-URL terms
      cause - the underlying failure