Class TCallbackErrorHandler

Description

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.

  • author: Wei Zhuo <weizhuo[at]gmail[dot]com>
  • version: $Id: TActivePageAdapter.php 3010 2011-07-16 09:28:55Z ctrlaltca@gmail.com $
  • since: 3.1

Located in /Web/UI/ActiveControls/TActivePageAdapter.php (line 338)

TComponent
   |
   --TApplicationComponent
      |
      --TModule
         |
         --TErrorHandler
            |
            --TCallbackErrorHandler
Method Summary
void displayException (Exception $exception)
Methods
displayException (line 345)

Displays the exceptions to the client-side TJavascriptLogger.

A HTTP 500 status code is sent and the stack trace is sent as JSON encoded.

  • access: protected
void displayException (Exception $exception)
  • Exception $exception: exception details.

Redefinition of:
TErrorHandler::displayException()
Displays exception information.

Inherited Methods

Inherited From TErrorHandler

TErrorHandler::displayException()
TErrorHandler::getErrorTemplate()
TErrorHandler::getErrorTemplatePath()
TErrorHandler::getExceptionTemplate()
TErrorHandler::handleError()
TErrorHandler::handleExternalError()
TErrorHandler::handleRecursiveError()
TErrorHandler::hideSecurityRelated()
TErrorHandler::init()
TErrorHandler::setErrorTemplatePath()

Inherited From TModule

TModule::getID()
TModule::init()
TModule::setID()

Inherited From TApplicationComponent

TApplicationComponent::getApplication()
TApplicationComponent::getRequest()
TApplicationComponent::getResponse()
TApplicationComponent::getService()
TApplicationComponent::getSession()
TApplicationComponent::getUser()
TApplicationComponent::publishAsset()
TApplicationComponent::publishFilePath()

Inherited From TComponent

TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__call()
TComponent::__get()
TComponent::__set()
TComponent::__sleep()
TComponent::__wakeup()
Class Constants

Documentation generated on Mon, 25 Jun 2012 14:37:06 +0200 by phpDocumentor 1.4.3