class Tilia::DavAcl::Exception::NotRecognizedPrincipal

If a client tried to set a privilege assigned to a non-existant principal, this exception will be thrown.

Public Instance Methods

serialize(_server, error_node) click to toggle source

Adds in extra information in the xml response.

This method adds the {DAV:}no-ace-conflict element as defined in rfc3744

@param DAVServer server @param DOMElement error_node @return void

# File lib/tilia/dav_acl/exception/not_recognized_principal.rb, line 14
def serialize(_server, error_node)
  error = LibXML::XML::Node.new('d:recognized-principal')
  error_node << error
end