@since Method available since Release 3.1.0
Exception $exception:
PHPUnit_Framework_MockObject_Stub_Exception
public static function throwException(Exception $exception) { return new PHPUnit_Framework_MockObject_Stub_Exception($exception); }