API17

JException:: construct

From Joomla! Documentation

Revision as of 20:53, 27 April 2011 by Doxiki2 (talk | contribs) (Updated to r1448:247ba8d88526)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JException::__construct[edit]

Description[edit]

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[edit]

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

User contributed notes[edit]

<CodeExamplesForm />