protected static function errorToException(
		$level,
		$message,
		$file,
		$line
	)
	{
		try {
			throw new \ErrorException($message, 0, $level, $file, $line);
		} catch(\ErrorException $e) {
			return $e;
		}
	}
protected static function errorToException(
		$level,
		$message,
		$file,
		$line
	)
	{
		try {
			throw new \ErrorException($message, 0, $level, $file, $line);
		} catch(\ErrorException $e) {
			return $e;
		}
	}
protected static function errorToException ( $ level , $ message , $ file , $ line ) { try { throw new \ ErrorException ( $ message , 0 , $ level , $ file , $ line ) ; } catch ( \ ErrorException $ e ) { return $ e ; } }
Throws, catches, and returns an \ErrorException created from error args

@param int    $level   Any of the error levels (E_*)
@param string $message Message given with the error
@param string $file    File generating the error
@param int    $line    Line on which the error occured
@return \ErrorException
@see http://php.net/manual/en/class.errorexception.php
Throws catches and returns an \ ErrorException created from error args