Exception class use exceptionCode to identifiy correctly exception. More...
Inheritance diagram for Exception:
Collaboration diagram for Exception:Public Member Functions | |
| __construct ($message, $argCode=0) | |
| getDcpCode () | |
| getDcpMessage () | |
| __toString () | |
| addHttpHeader ($header) | |
| getHttpHeader () | |
Exception class use exceptionCode to identifiy correctly exception.
Definition at line 19 of file exceptions.php.
| __construct | ( | $message, | |
$argCode = 0 |
|||
| ) |
Redefined exception : message text is mandatory now
| string | $message | error message or code error |
Definition at line 27 of file exceptions.php.
| __toString | ( | ) |
Definition at line 74 of file exceptions.php.
| addHttpHeader | ( | $header | ) |
Definition at line 79 of file exceptions.php.
| getDcpCode | ( | ) |
return code error from constant of ErrorCode Class
Definition at line 51 of file exceptions.php.
| getDcpMessage | ( | ) |
return code error from constant of ErrorCode Class
Definition at line 63 of file exceptions.php.
| getHttpHeader | ( | ) |
Definition at line 83 of file exceptions.php.