API17

JException:: construct: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Updated to r1448:247ba8d88526
m JoomlaWikiBot moved page JException:: construct/11.1 to API17:JException:: construct without leaving a redirect: Robot: Moved page
(No difference)

Revision as of 22:47, 10 May 2013

Joomla 11.1 JException::__construct

Description

Constructor


Template:Description:JException:: construct [Edit Descripton]

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

Template:SeeAlso:JException:: construct [Edit See Also]

User contributed notes

<CodeExamplesForm />