level relates to the PHP error levels, E_NOTICE, E_WARNING, and E_ERROR. Error
handling levels and mechanisms can be altered.
Parameters level Error level
code Error code
msg Error message
[info] Additional error information
[backtrace] Include debug_backtrace() information
Returns Depends on error handling mechanism; normally a JException object
static &raiseError( code : string, msg : string, info : mixed=null) :
mixed
Raises a new error (E_ERROR) and executes the associated error handling mechanisms
(by default JError::handleCallback(), which in turn calls, JError::
customErrorPage()).
Parameters code Error code
msg Error message
[info] Additional information
Return Depends on error handling mechanism; normally a JException object
static &raiseNotice( code : string, msg : string, info : mixed=null) :
mixed
Raises a new notice (E_NOTICE) and executes the associated error handling mechanisms
(by default this is JError::handleMessage). Normally this method will display a notice
message on the resultant page
Parameters code Error code
msg Error message
[info] Additional information
Return Depends on error handling mechanism; normally a JException object
Appendix
[ 392 ]
static &raiseWarning( code : string, msg : string, info : mixed=null) :
mixed
Raises a new warning (E_WARNING) and executes the associated error handling
mechanisms (by default JError::handleMessage()).
Pages:
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547