4 * Sabre_DAVACL_Exception_NoAbstract
8 * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
9 * @author Evert Pot (http://www.rooftopsolutions.nl/)
10 * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
12 class Sabre_DAVACL_Exception_NoAbstract extends Sabre_DAV_Exception_PreconditionFailed {
15 * Adds in extra information in the xml response.
17 * This method adds the {DAV:}no-abstract element as defined in rfc3744
19 * @param Sabre_DAV_Server $server
20 * @param DOMElement $errorNode
23 public function serialize(Sabre_DAV_Server $server,DOMElement $errorNode) {
25 $doc = $errorNode->ownerDocument;
27 $np = $doc->createElementNS('DAV:','d:no-abstract');
28 $errorNode->appendChild($np);