ColdBox Platform v3.8.0

coldbox.system.web.services
Class ExceptionService

WEB-INF.cftags.component
        extended by coldbox.system.web.services.BaseService
            extended by coldbox.system.web.services.ExceptionService

public class ExceptionService
extends BaseService

The ColdBox exception service

Constructor Summary
init(any controller)
          Constructor
 
Method Summary
 any<ExceptionBean> exceptionHandler(any exception, [string errorType='application'], [string extraMessage=''])
          I handle a framework/application exception
 string renderBugReport(any exceptionBean)
          Render a Bug Report
 
Methods inherited from class coldbox.system.web.services.BaseService
convertToColdBox, getColdboxOCM, getController, getUtil, isFamilyType, onConfigurationLoad, onShutdown, setController
 
Methods inherited from class WEB-INF.cftags.component
None
 

Constructor Detail

init

public init(any controller)
Constructor

Parameters:
controller
Method Detail

exceptionHandler

public any<ExceptionBean> exceptionHandler(any exception, [string errorType='application'], [string extraMessage=''])
I handle a framework/application exception. I return a framework exception bean

Parameters:
exception - The exception structure. Passed as any due to CF glitch
errorType
extraMessage

renderBugReport

public string renderBugReport(any exceptionBean)
Render a Bug Report.

Parameters:
exceptionBean

ColdBox Platform v3.8.0