Package org.exoplatform.caldav.client
Class CalDavNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.exoplatform.caldav.client.CalDavException
org.exoplatform.caldav.client.CalDavNotFoundException
- All Implemented Interfaces:
Serializable
The server says the thing a call addressed does not exist.
Distinguished from its parent CalDavException because the caller
reacts differently: a plain failure is worth another attempt when the
server has a bad afternoon, while an object the server does not hold will
not appear by being asked for again. A subscription change owed to a
container that is gone is given up on at once rather than argued for until
the bound (EXO-90277).
On BlueMind's REST API it stands for both spellings of the same answer: a
404, and a 500 whose fault body carries errorCode: NOT_FOUND —
ResponseBuilder.replyServerFault answers 500 for every code but
PERMISSION_DENIED, and a live capture is what settles which one a
deployment sends.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCalDavNotFoundException(String message) An absent object explained by its message alone — the status naming the method and URI it answered. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CalDavNotFoundException
An absent object explained by its message alone — the status naming the method and URI it answered.- Parameters:
message- what was not found, in server-and-URL terms
-