protected function Crash($errmsg = "Unknown Error", $code = 0, $exception = null)
	{
		$ex = $exception ? $exception : new Exception($errmsg, $code);
		throw $ex;
	}
protected function Crash($errmsg = "Unknown Error", $code = 0, $exception = null)
	{
		$ex = $exception ? $exception : new Exception($errmsg, $code);
		throw $ex;
	}
protected function Crash ( $ errmsg = "Unknown Error" , $ code = 0 , $ exception = null ) { $ ex = $ exception ? $ exception : new Exception ( $ errmsg , $ code ) ; throw $ ex ; }
Send a crash message to the browser and terminate

@param string $errmsg text message to display
@param int $code used for support for this error
@param Exception $exception if exception was thrown, can be provided for more info
Send a crash message to the browser and terminate