code/libraries/joomlatools/library/event/publisher/exception.php
public function setExceptionHandler(KExceptionHandlerInterface $handler)
    {
        $this->__exception_handler = $handler;

        //Re-enable the exception handler
        if($this->isEnabled())
        {
            $this->disable();
            $this->enable();
        }

        return $this;
    }
public function setExceptionHandler(KExceptionHandlerInterface $handler)
    {
        $this->__exception_handler = $handler;

        //Re-enable the exception handler
        if($this->isEnabled())
        {
            $this->disable();
            $this->enable();
        }

        return $this;
    }
public function setExceptionHandler ( KExceptionHandlerInterface $ handler ) { $ this -> __exception_handler = $ handler ; //Re-enable the exception handler if ( $ this -> isEnabled ( ) ) { $ this -> disable ( ) ; $ this -> enable ( ) ; } return $ this ; }
Set the exception handler object

@param   KExceptionHandlerInterface $handler An exception handler object
@return  KEventPublisherException
Set the exception handler object