2 HttpRequestPool exception
7 checkcls('HttpRequestPool');
13 $p = new HttpRequestPool(new HttpRequest('http://_____'));
16 } catch (HttpRequestPoolException $x) {
17 for ($i=0; $x; ++$i, $x = @$x->innerException) {
18 printf("%s%s: %s\n", str_repeat("\t", $i), get_class($x), $x->getMessage());
22 $p = new HttpRequestPool(new HttpRequest('http://_____'), new HttpRequest('http://_____'));
25 } catch (HttpRequestPoolException $x) {
26 for ($i=0; $x; ++$i, $x = @$x->innerException) {
27 printf("%s%s: %s\n", str_repeat("\t", $i), get_class($x), $x->getMessage());
35 HttpRequestPoolException: Exception caused by 2 inner exception(s)
36 HttpInvalidParamException: Empty or too short HTTP message: ''
37 HttpRequestException: %souldn't resolve host name; %s (http://_____/)
39 HttpRequestPoolException: Exception caused by 4 inner exception(s)
40 HttpInvalidParamException: Empty or too short HTTP message: ''
41 HttpRequestException: %souldn't resolve host name; %s (http://_____/)
42 HttpInvalidParamException: Empty or too short HTTP message: ''
43 HttpRequestException: %souldn't resolve host name; %s (http://_____/)