public function handleExceptions($exception)
    {
        $this->displayError($exception);
        $this->sendErrorNotification($exception);

        if(isset($this->ApplicationContext) && ($this->ApplicationContext->isOneOffRedeploy() || $this->redeployOnError))
            $this->ApplicationContext->clearContextFiles();
    }
public function handleExceptions($exception)
    {
        $this->displayError($exception);
        $this->sendErrorNotification($exception);

        if(isset($this->ApplicationContext) && ($this->ApplicationContext->isOneOffRedeploy() || $this->redeployOnError))
            $this->ApplicationContext->clearContextFiles();
    }
public function handleExceptions ( $ exception ) { $ this -> displayError ( $ exception ) ; $ this -> sendErrorNotification ( $ exception ) ; if ( isset ( $ this -> ApplicationContext ) && ( $ this -> ApplicationContext -> isOneOffRedeploy ( ) || $ this -> redeployOnError ) ) $ this -> ApplicationContext -> clearContextFiles ( ) ; }
Defines the exception handler to use.

@param Exception $exception The exception to handle

@return void
Defines the exception handler to use .