protected function handleException($e)
    {
        if (isset($this->exceptions)) {
            $this->exceptions->report($e);
        }

        if ($this->causedByLostConnection($e)) {
            $this->shouldQuit = true;
        }
    }
protected function handleException($e)
    {
        if (isset($this->exceptions)) {
            $this->exceptions->report($e);
        }

        if ($this->causedByLostConnection($e)) {
            $this->shouldQuit = true;
        }
    }
protected function handleException ( $ e ) { if ( isset ( $ this -> exceptions ) ) { $ this -> exceptions -> report ( $ e ) ; } if ( $ this -> causedByLostConnection ( $ e ) ) { $ this -> shouldQuit = true ; } }
Handle an exception that occurred while handling a job.

@param  \Exception  $e
@return void
Handle an exception that occurred while handling a job .