PHP Class SimpleThrower, simpletest

Mostra file Open project: simpletest/simpletest

Public Methods

Method Description
__construct ( Exception $exception ) Stashes it for later.
act ( ) Throws the exceptins stashed earlier.

Method Details

__construct() public method

Stashes it for later.
public __construct ( Exception $exception )
$exception Exception The exception object to throw.

act() public method

Throws the exceptins stashed earlier.
public act ( )