Class Sabre\DAV\Exception

extends Exception

Main Exception class.

This class defines a getHTTPCode method, which should return the appropriate HTTP code for the Exception occurred. The default for this is 500.

This class also allows you to generate custom xml data for your exceptions. This will be displayed in the 'error' element in the failing response.

Methods
Methods inherited from Exception
__construct(), __wakeup(), getMessage(), getCode(), getFile(), getLine(), getTrace(), getPrevious(), getTraceAsString(), __toString()