API17

Difference between revisions of "JException"

From Joomla! Documentation

m (JoomlaWikiBot moved page JException/11.1 to API17:JException without leaving a redirect: Robot: Moved page)
m (→‎User contributed notes: moving preparation)
Line 77: Line 77:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JException]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 10:55, 11 May 2013

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.

Joomla 11.1 JException[edit]

Description[edit]

Template:Description:JException [Edit Descripton]

Methods[edit]

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[edit]

jimport( 'joomla.error.exception' );

See also[edit]

Template:SeeAlso:JException [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />