Class that represents a controller response via an exception.

This type of exception is caught by the front controller and handled as if it were returned by the controller as normal.

package XenForo_Mvc

 Methods

Constructor.

__construct(\XenForo_ControllerResponse_Abstract $controllerResponse) 

Parameters

__toString()

__toString() 

inherited_from Exception::__toString()

getCode()

getCode() 

inherited_from Exception::getCode()

Gets the encapsulated controller response.

getControllerResponse() : \XenForo_ControllerResponse_Abstract

getFile()

getFile() 

inherited_from Exception::getFile()

getLine()

getLine() 

inherited_from Exception::getLine()

getMessage()

getMessage() 

inherited_from Exception::getMessage()

getPrevious()

getPrevious() 

inherited_from Exception::getPrevious()

getTrace()

getTrace() 

inherited_from Exception::getTrace()

getTraceAsString()

getTraceAsString() 

inherited_from Exception::getTraceAsString()

 Properties

 

Controller response this object encapsulates.

$_controllerResponse : \XenForo_ControllerResponse_Abstract