XpressEngine Core
1.11.2
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
libs
PEAR.1.9.5
HTTP
Request2
Exception.php
Go to the documentation of this file.
1
<?php
24
require_once
'PEAR/Exception.php'
;
25
37
class
HTTP_Request2_Exception
extends
PEAR_Exception
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
103
class
HTTP_Request2_NotImplementedException
extends
HTTP_Request2_Exception
104
{
105
}
106
124
class
HTTP_Request2_LogicException
extends
HTTP_Request2_Exception
125
{
126
}
127
141
class
HTTP_Request2_ConnectionException
extends
HTTP_Request2_Exception
142
{
143
}
144
157
class
HTTP_Request2_MessageException
extends
HTTP_Request2_Exception
158
{
159
}
160
?>
HTTP_Request2_ConnectionException
Definition:
Exception.php:141
HTTP_Request2_Exception\INVALID_ARGUMENT
const INVALID_ARGUMENT
Definition:
Exception.php:40
HTTP_Request2_Exception\MISSING_VALUE
const MISSING_VALUE
Definition:
Exception.php:42
HTTP_Request2_LogicException
Definition:
Exception.php:124
HTTP_Request2_Exception\DECODE_ERROR
const DECODE_ERROR
Definition:
Exception.php:51
HTTP_Request2_Exception\__construct
__construct($message=null, $code=null, $nativeCode=null)
Definition:
Exception.php:72
HTTP_Request2_MessageException
Definition:
Exception.php:157
HTTP_Request2_Exception\NON_HTTP_REDIRECT
const NON_HTTP_REDIRECT
Definition:
Exception.php:57
HTTP_Request2_NotImplementedException
Definition:
Exception.php:103
HTTP_Request2_Exception
Definition:
Exception.php:37
PEAR_Exception
Definition:
Exception.php:97
HTTP_Request2_Exception\TOO_MANY_REDIRECTS
const TOO_MANY_REDIRECTS
Definition:
Exception.php:55
HTTP_Request2_Exception\MISCONFIGURATION
const MISCONFIGURATION
Definition:
Exception.php:44
HTTP_Request2_Exception\MALFORMED_RESPONSE
const MALFORMED_RESPONSE
Definition:
Exception.php:49
HTTP_Request2_Exception\getNativeCode
getNativeCode()
Definition:
Exception.php:87
HTTP_Request2_Exception\TIMEOUT
const TIMEOUT
Definition:
Exception.php:53
HTTP_Request2_Exception\READ_ERROR
const READ_ERROR
Definition:
Exception.php:46
Generated on Tue Dec 18 2018 17:04:28 for XpressEngine Core by
1.8.5