code/libraries/joomlatools/library/event/publisher/exception.php
public function publishException(Exception $exception, $attributes = array(), $target = null)
    {
        //Make sure we have an event object
        $event = new KEventException('onException', $attributes, $target);
        $event->setException($exception);

        parent::publishEvent($event);
    }
public function publishException(Exception $exception, $attributes = array(), $target = null)
    {
        //Make sure we have an event object
        $event = new KEventException('onException', $attributes, $target);
        $event->setException($exception);

        parent::publishEvent($event);
    }
public function publishException ( Exception $ exception , $ attributes = array ( ) , $ target = null ) { //Make sure we have an event object $ event = new KEventException ( 'onException' , $ attributes , $ target ) ; $ event -> setException ( $ exception ) ; parent :: publishEvent ( $ event ) ; }
Publish an 'onException' event by calling all listeners that have registered to receive it.

@param   Exception           $exception  The exception to be published.
@param  array|Traversable    $attributes An associative array or a Traversable object
@param  mixed                $target     The event target
@return  KEventException
Publish an onException event by calling all listeners that have registered to receive it .