API17:JException:: construct
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JException::__construct
Description
Constructor
Description:JException:: construct
[Edit Descripton]
Synopsis
public JException::__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 in
libraries/joomla/error/exception.php (line 100)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JException:: construct
Examples
<CodeExamplesForm />
