coldbox.system.web.context

Class ExceptionBean

railo-context.Component
        extended by coldbox.system.web.context.ExceptionBean
Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  

    I model a Coldfusion/Coldbox Exception

    Constructor Summary
    init([any errorStruct='[runtime expression]'], [string extramessage=''], [any extraInfo=''], [string errorType='application'])
    Method Summary
    string $toString()
    string getDetail()
    string getErrNumber()
    string getErrorCode()
    string getErrorType()
    struct getExceptionStruct()
    string getExtendedInfo()
    any getExtraInfo()
    string getExtraMessage()
    string getLockName()
    string getLockOperation()
    any getMemento()
         Get the memento.
    string getMessage()
    string getMissingFileName()
    string getNativeErrorCode()
    string getQueryError()
    string getSql()
    string getSqlState()
    string getStackTrace()
    array getTagContext()
    string getTagContextAsString()
         I return the tagcontext in string format.
    string getType()
    string getWhere()
    void setMemento(struct memento)
         Set the memento.
     
    Methods inherited from class railo-context.Component
    None

    Constructor Detail

    init

    public init([any errorStruct='[runtime expression]'], [string extramessage=''], [any extraInfo=''], [string errorType='application'])

    Parameters:
    errorStruct - The CF error Structure
    extramessage - The custom error message
    extraInfo - Extra information
    errorType - application/framework

    Method Detail

    $toString

    public string $toString()


    getDetail

    public string getDetail()


    getErrNumber

    public string getErrNumber()


    getErrorCode

    public string getErrorCode()


    getErrorType

    public string getErrorType()


    getExceptionStruct

    public struct getExceptionStruct()


    getExtendedInfo

    public string getExtendedInfo()


    getExtraInfo

    public any getExtraInfo()


    getExtraMessage

    public string getExtraMessage()


    getLockName

    public string getLockName()


    getLockOperation

    public string getLockOperation()


    getMemento

    public any getMemento()

    Get the memento


    getMessage

    public string getMessage()


    getMissingFileName

    public string getMissingFileName()


    getNativeErrorCode

    public string getNativeErrorCode()


    getQueryError

    public string getQueryError()


    getSql

    public string getSql()


    getSqlState

    public string getSqlState()


    getStackTrace

    public string getStackTrace()


    getTagContext

    public array getTagContext()


    getTagContextAsString

    public string getTagContextAsString()

    I return the tagcontext in string format.


    getType

    public string getType()


    getWhere

    public string getWhere()


    setMemento

    public void setMemento(struct memento)

    Set the memento

    Parameters:
    memento