]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/LRDD/extlib/XML/XRD/Loader/Exception.php
Implemented WebFinger and replaced our XRD with PEAR XML_XRD
[quix0rs-gnu-social.git] / plugins / LRDD / extlib / XML / XRD / Loader / Exception.php
1 <?php
2 /**
3  * Part of XML_XRD
4  *
5  * PHP version 5
6  *
7  * @category XML
8  * @package  XML_XRD
9  * @author   Christian Weiske <cweiske@php.net>
10  * @license  http://www.gnu.org/copyleft/lesser.html LGPL
11  * @link     http://pear.php.net/package/XML_XRD
12  */
13
14 require_once 'XML/XRD/Exception.php';
15
16 /**
17  * XML_XRD exception that's thrown when loading the XRD fails.
18  *
19  * @category XML
20  * @package  XML_XRD
21  * @author   Christian Weiske <cweiske@php.net>
22  * @license  http://www.gnu.org/copyleft/lesser.html LGPL
23  * @version  Release: @package_version@
24  * @link     http://pear.php.net/package/XML_XRD
25  */
26 class XML_XRD_Loader_Exception extends Exception implements XML_XRD_Exception
27 {
28     /**
29      * The document namespace is not the XRD 1.0 namespace
30      */
31     const DOC_NS = 10;
32
33     /**
34      * The document root element is not XRD
35      */
36     const DOC_ROOT = 11;
37
38     /**
39      * Error loading the XML|JSON file|string
40      */
41     const LOAD = 12;
42
43     /**
44      * Unsupported XRD file/string type (no loader)
45      */
46     const NO_LOADER = 13;
47
48     /**
49      * Error opening file
50      */
51     const OPEN_FILE = 14;
52
53     /**
54      * Detecting the file type failed
55      */
56     const DETECT_TYPE = 20;
57 }
58
59 ?>