From Joomla! Documentation

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


Add an error message.

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

  • Joomla 11.1 JException::setError source code on BitBucket
  • Joomla 11.1 Class JException
  • Joomla 11.1 Subpackage Error
  • Other versions of JException::setError

User contributed notes

Code Examples