Difference between revisions of "JException"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JException}} ===Defined in=== ...)
Line 38: Line 38:
|Returns to error message
|Returns to error message
<source lang="php">jimport( 'joomla.error.exception' );</source>
<source lang="php">jimport( 'joomla.error.exception' );</source>

Latest revision as of 11:35, 25 March 2010

Replacement filing cabinet.png
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.

[Edit Descripton] Description:JException

Defined in



Method name Description
__construct Constructor

used to set up the error with all needed error details.

getMessage Method to get the exception message
getCode Method to get the exception code
getFile Method to get the source filename where the exception occured
getLine Method to get the source line where the exception occured
getTrace Method to get the array of the backtrace()
getTraceAsString Method to get the formatted backtrace information
toString Returns to error message


jimport( 'joomla.error.exception' );

[Edit See Also] SeeAlso:JException


<CodeExamplesForm />