API17:JException:: construct
From Joomla! Documentation
JException::__construct
Description
Constructor
public function __construct (
$msg
$code=0
$level=null
$info=null
$backtrace=false
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $msg | string | The error message | |
| $code | string | 0 | The error code from the application |
| $level | int | null | The error level (use the PHP constants E_ALL, E_NOTICE etc.). |
| $info | string | null | Optional: The additional error information. |
| $backtrace | boolean | false | True if backtrace information is to be collected |
- Returns
- Defined on line 100 of libraries/joomla/error/exception.php
See also
JException::__construct source code on BitBucket
Class JException
Subpackage Error- Other versions of JException::__construct
User contributed notes
Code Examples