Failed Transaction Exception

Payment processing errors extend or throw this exception.

Class Methods

The following methods can be invoked on instances of this class.

setResponseCode(int iResponseCode)

Sets the response code returned from the payment gateway

getResponseCode()

Returns the response code returned from the payment gateway

setFormItem(\Framework\DOM\Nodes\ControlFormItemABC pItem)

Sets the form item which threw this exception

setDataColumn(string strDataColumn)

Sets the datacolumn which threw this exception

getFormItem()

Returns the form item which threw this exception

getDataColumn()

Returns the datacolumn which threw this exception

__construct(mixed message, mixed code, \Exception previous)

Constructor

setTitle(string strTitle)

Sets the title of the exception

getTitle()

Returns the title

setDescription(string strDescription)

Sets the description

getDescription()

Returns the description

addDebugInfo(mixed strKey, mixed strValue)

Adds debug info

setDebugInfo(mixed arrDebugInfo)

Sets an array of the added debug info

getDebugInfo()

Returns an array of the added debug info

addSolution(string strSolution)

Adds a solution as to how to fix the problem

getSolutions()

Returns an array of all the possible solutions

setDeveloperNotification(bool bDeveloperNofication)

Sets whether the developer should be notified of the error

getDeveloperNotification()

Returns whether the developer should be notified of the error

setRewindOffset(int iOffset)

Rewinds the call stack by $iOffset when the error is displayed

getRewindOffset()

Returns the current rewind offset

getConstructorTrace()

Returns the back trace

__clone()

__wakeup()

getMessage()

getCode()

getFile()

getLine()

getTrace()

getPrevious()

getTraceAsString()

__toString()