Actions

API16

JException

From Joomla! Documentation

Revision as of 17:46, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Contents

Defined in

libraries/joomla/error/exception.php

Methods

Method name Description
__construct Constructor

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

__toString Returns to error message
toString Returns to error message
get Returns a property of the object or the default value if the property is not set.
getProperties Returns an associative array of object properties
getError Get the most recent error message
getErrors Return all errors, if any
set Modifies a property of the object, creating it if it does not already exist.
setProperties Set the object properties based on a named array/hash
setError Add an error message

Importing

jimport( 'joomla.error.exception' );

[Edit See Also] SeeAlso:JException

Examples

<CodeExamplesForm />