Class TCallbackErrorHandler
TCallbackErrorHandler class.
Captures errors and exceptions and send them back during callback response. When the application is in debug mode, the error and exception stack trace are shown. A TJavascriptLogger must be present on the client-side to view the error stack trace.
- TComponent
-
TApplicationComponent
-
TModule implements IModule
-
TErrorHandler
-
TCallbackErrorHandler
Package: System\Web\UI\ActiveControls
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
Since: 3.1
Located at Web/UI/ActiveControls/TActivePageAdapter.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
Since: 3.1
Located at Web/UI/ActiveControls/TActivePageAdapter.php
protected
|
#
displayException( Exception $exception )
Displays the exceptions to the client-side TJavascriptLogger. A HTTP 500 status code is sent and the stack trace is sent as JSON encoded. |
getID(),
setID()
|
getApplication(),
getRequest(),
getResponse(),
getService(),
getSession(),
getUser(),
publishAsset(),
publishFilePath()
|
ERROR_FILE_NAME,
EXCEPTION_FILE_NAME,
SOURCE_LINES
|
GLOBAL_RAISE_EVENT_LISTENER
|