Swat/exceptions/SwatException.php
public function process($exit = true, $handled = true)
    {
        $this->handled = $handled;

        if (ini_get('display_errors')) {
            $this->display();
        }

        if (ini_get('log_errors')) {
            $this->log();
        }

        if ($exit) {
            exit(1);
        }
    }
public function process($exit = true, $handled = true)
    {
        $this->handled = $handled;

        if (ini_get('display_errors')) {
            $this->display();
        }

        if (ini_get('log_errors')) {
            $this->log();
        }

        if ($exit) {
            exit(1);
        }
    }
public function process ( $ exit = true , $ handled = true ) { $ this -> handled = $ handled ; if ( ini_get ( 'display_errors' ) ) { $ this -> display ( ) ; } if ( ini_get ( 'log_errors' ) ) { $ this -> log ( ) ; } if ( $ exit ) { exit ( 1 ) ; } }
Processes this exception

Processing involves displaying errors, logging errors and sending
error message emails

@param boolean $exit optional. Whether or not to exit after processing
this exception. If unspecified, defaults to true.
@param boolean $handled optional. Whether or not this exception was
manually handled. If unspecified defaults to
true. Usually this parameter should be true
if you catch an exception and manually call
process on the exception.
Processes this exception