Actions

API17

Difference between revisions of "JException::setError"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JException::setError|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JException::setError|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|1.0 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JException::setError ($error)
+
public function setError ($error)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 24: Line 21:
 
|string
 
|string
 
|
 
|
|Error message public
+
|Error message
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 309 of libraries/joomla/error/exception.php
===Defined in===
+
* '''Since''' {{JVer|1.0 }}
libraries/joomla/error/exception.php (line 315)
+
* see source code in [[jplatform:error/exception.php#cl-315|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JException::setError source code''' on [[jplatform:error/exception.php#cl-301|BitBucket]]
 +
* {{JVer|11.1}} Class [[JException/11.1|JException]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Error/11.1|Error]]
 +
* [[JException::setError|Other versions of JException::setError]]
 +
{{SeeAlso:JException::setError}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JException::setError|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JException::setError|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JException/11.1|JException]]
+
===User contributed notes===
* [[JException::setError|Other versions of this method]]
+
{{SeeAlso:JException::setError}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JException]][[Category:JException::setError]]</noinclude>
 
<noinclude>[[Category:JException]][[Category:JException::setError]]</noinclude>

Revision as of 20:53, 27 April 2011

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::setError

Description

Add an error message.

Description:JException::setError [Edit Descripton]

public function setError ($error)
Parameter Type Default Description
$error string Error message
  • Returns
  • Defined on line 309 of libraries/joomla/error/exception.php
  • Since Joomla 1.0

See also

SeeAlso:JException::setError [Edit See Also]

User contributed notes

<CodeExamplesForm />