Actions

API17

Difference between revisions of "JException"

From Joomla! Documentation

(Remove 1.6 and 1.7 tags)
(Update link)
Line 1: Line 1:
{{deprecated|when=1.5|from=2.5,11.1|old=JException|link=Exceptions and Logging in Joomla 1.7 and Joomla Platform 11.1|new=PHP exceptions instead}}__NOTOC__
+
{{deprecated|when=1.5|from=2.5,11.1|old=JException|link=J2.5:Exceptions and Logging in Joomla Platform 11.1 and Joomla 2.5|new=PHP exceptions instead}}__NOTOC__
 
=={{JVer|11.1}} JException==
 
=={{JVer|11.1}} JException==
 
===Description===
 
===Description===

Revision as of 05:28, 30 April 2013

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.

Joomla 11.1 JException

Description

Description:JException [Edit Descripton]

Methods

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

Importing

jimport( 'joomla.error.exception' );

See also

SeeAlso:JException [Edit See Also]

User contributed notes

<CodeExamplesForm />