PHP eFax
|
Exception used when detecting an invalid parameter. More...
Public Member Functions | |
__construct ($message="", $code=0, $previous=NULL) | |
Initalize the http_request_exception object. More... | |
Unfortunately the old scheme used an exception from the PEAR HttpRequest that used the name "invalid param exception" even though it could be thrown when the system timed out.
We have a new exception though that we use when we detect an invalid parameter so that way we do not catch it in eFax and thus the caller gets the information.
http_request_exception::__construct | ( | $message = "" , |
|
$code = 0 , |
|||
$previous = NULL |
|||
) |
This constructor ensures that the http_request_exception is fully initialized.
[in] | $message | The message of this exception (the error). |
[in] | $code | The error code representing this exception (not used internally). |
[in] | $previous | The previous exception level (not used internally). |