Solar_App_Hello::_exceptionDuringFetch()

protected string Solar_App_Hello::_exceptionDuringFetch ( Exception $e )

When an exception is thrown during the fetch() process, use this method to recover from it.

Inherited from Solar_Controller_Page.

Parameters

  • (Exception) $e: The exception thrown during the fetch() process.

Returns

  • (string) The alternative output from the rescued exception.

Description

When an exception is thrown during the fetch() process, use this method to recover from it.

This default implementation just displays the exception, but extended classes may override the behavior to return alternative output from the failed fetch().



Local