Would is make sense for JObject::setError to be able to take an
exception so that we can do things like:
catch (JException $e) {
$this->setError($e);
return false;
}
In fact, if it returned false then we could trim that to:
catch (JException $e) {
return $this->setError($e);
}
Thoughts?
Regards,
Andrew Eddie