XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Exception.php
Go to the documentation of this file.
1 <?php
24 require_once 'PEAR/Exception.php';
25 
38 {
40  const INVALID_ARGUMENT = 1;
42  const MISSING_VALUE = 2;
44  const MISCONFIGURATION = 3;
46  const READ_ERROR = 4;
47 
49  const MALFORMED_RESPONSE = 10;
51  const DECODE_ERROR = 20;
53  const TIMEOUT = 30;
55  const TOO_MANY_REDIRECTS = 40;
57  const NON_HTTP_REDIRECT = 50;
58 
63  private $_nativeCode;
64 
72  public function __construct($message = null, $code = null, $nativeCode = null)
73  {
74  parent::__construct($message, $code);
75  $this->_nativeCode = $nativeCode;
76  }
77 
87  public function getNativeCode()
88  {
89  return $this->_nativeCode;
90  }
91 }
92 
104 {
105 }
106 
125 {
126 }
127 
142 {
143 }
144 
158 {
159 }
160 ?>
__construct($message=null, $code=null, $nativeCode=null)
Definition: Exception.php:72