6 * This exception is thrown when the client requested an unknown report through the REPORT method
10 * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
11 * @author Evert Pot (http://www.rooftopsolutions.nl/)
12 * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
14 class Sabre_DAV_Exception_ReportNotImplemented extends Sabre_DAV_Exception_NotImplemented {
17 * This method allows the exception to include additional information into the WebDAV error response
19 * @param Sabre_DAV_Server $server
20 * @param DOMElement $errorNode
23 public function serialize(Sabre_DAV_Server $server,DOMElement $errorNode) {
25 $error = $errorNode->ownerDocument->createElementNS('DAV:','d:supported-report');
26 $errorNode->appendChild($error);