API17

JException

From Joomla! Documentation

Revision as of 15:49, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

[Edit Descripton] Template:Description:JException

Defined in[edit]

libraries/joomla/error/exception.php

Subpackage[edit]

Error

Extends[edit]

Extended by[edit]

Methods[edit]

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

Importing[edit]

jimport( 'joomla.error.exception' );

See also[edit]

Template:SeeAlso:JException [Edit See Also]

Examples[edit]

<CodeExamplesForm />