API17

JException:: construct: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
Layout updates
Line 11: Line 11:
===Synopsis===
===Synopsis===
<source lang="php">
<source lang="php">
public JException->__construct ($msg, $code=0, $level=null, $info=null, $backtrace=false)
public JException::__construct ($msg, $code=0, $level=null, $info=null, $backtrace=false)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 49: Line 49:


===Defined in===
===Defined in===
libraries/joomla/error/exception.php
libraries/joomla/error/exception.php (line 100)
* see source code in [[jplatform:error/exception.php#cl-100|BitBucket]]
===Referenced by===
===Referenced by===
===See also===
===See also===

Revision as of 01:27, 24 April 2011

Joomla 11.1 JException::__construct

Description

Constructor


Template: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)

Referenced by

See also

[Edit See Also]

Template:SeeAlso:JException:: construct

Examples

<CodeExamplesForm />