JError::addToStack: Difference between revisions
From Joomla! Documentation
m JoomlaWikiBot moved page JError::addToStack/11.1 to API17:JError::addToStack without leaving a redirect: Robot: Moved page |
m preparing for archive only |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
Method to add non-JError thrown JExceptions to the stack for debugging purposes. | Method to add non-JError thrown JExceptions to the stack for debugging purposes. | ||
<source lang="php"> | <source lang="php"> | ||
public static function addToStack (JException &$e) | public static function addToStack (JException &$e) | ||
| Line 28: | Line 26: | ||
* '''Since''' {{JVer|11.1 }} | * '''Since''' {{JVer|11.1 }} | ||
* '''Referenced by''' | * '''Referenced by''' | ||
** [[JException::__construct | ** [[API17:JException::__construct|JException::__construct]] | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JError::addToStack source code''' on [[jplatform:error/error.php#cl-105|BitBucket]] | * {{JVer|11.1}} '''JError::addToStack source code''' on [[jplatform:error/error.php#cl-105|BitBucket]] | ||
* {{JVer|11.1}} Class [[JError | * {{JVer|11.1}} Class [[API17:JError|JError]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Error | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Error|Error]] | ||
* [[JError::addToStack|Other versions of JError::addToStack]] | * [[API17:JError::addToStack|Other versions of JError::addToStack]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JError::addToStack | category=JError::addToStack | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| Line 49: | Line 45: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:57, 25 March 2017
JError::addToStack
Description
Method to add non-JError thrown JExceptions to the stack for debugging purposes.
public static function addToStack (JException &$e)
| Parameter | Type | Default | Description |
|---|---|---|---|
| &$e | object |
See also
JError::addToStack source code on BitBucket
Class JError
Subpackage Error- Other versions of JError::addToStack
User contributed notes
Code Examples