Package org.exoplatform.caldav.client
Class CalDavException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.exoplatform.caldav.client.CalDavException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CalDavAuthenticationException,CalDavForbiddenException,CalDavNotFoundException,CalDavSubjectMismatchException,CalDavUnreachableException
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 Summary
ConstructorsConstructorDescriptionCalDavException(String message) A failure explained by its message alone.CalDavException(String message, Throwable cause) A failure wrapping its transport or parsing cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CalDavException
A failure explained by its message alone.- Parameters:
message- what went wrong, in server-and-URL terms
-
CalDavException
A failure wrapping its transport or parsing cause.- Parameters:
message- what went wrong, in server-and-URL termscause- the underlying failure
-