lucee.Component coldbox.system.web.context.ExceptionBean
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- I model an Exception
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
exceptionStruct
Exception Struct.
|
true
|
false
|
|
any
|
extraInfo
Extra info for exception tracking.
|
true
|
false
|
|
any
|
extraMessage
Custom error messages.
|
true
|
false
|
Constructor Summary | |
---|---|
init([any errorStruct='[runtime expression]'], [any extraMessage=''], [any extraInfo=''])
Constructor. |
Method Summary | |
---|---|
any
|
$toString()
String representation of this error. |
any
|
getDetail()
Get error detail. |
any
|
getErrNumber()
Get err number. |
any
|
getErrorCode()
Get error code. |
string
|
getExceptionStruct()
|
any
|
getExtendedInfo()
Get error extended info. |
string
|
getExtraInfo()
|
string
|
getExtraMessage()
|
any
|
getLockName()
Get lock name. |
any
|
getLockOperation()
Get lock operation. |
struct
|
getMemento()
Get memento representation. |
any
|
getMessage()
Get error message. |
any
|
getMissingFileName()
Get missing file name. |
any
|
getNativeErrorCode()
Get native error code. |
any
|
getQueryError()
Get queryError. |
any
|
getSql()
Get SQL. |
any
|
getSqlState()
Get SQL State. |
any
|
getStackTrace()
Get error stackTrace. |
array
|
getTagContext()
Get error tag context. |
any
|
getTagContextAsString()
Get tag context as string. |
any
|
getType()
Get error type. |
any
|
getWhere()
Get where portion. |
any
|
setExceptionStruct(any exceptionStruct)
|
any
|
setExtraInfo(any extraInfo)
|
any
|
setExtraMessage(any extraMessage)
|
ExceptionBean
|
setMemento(any memento)
Set Memento. |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
errorStruct
- The CFML error structureextraMessage
- Custom error messagesextraInfo
- Extra info to store in the errorProperty Detail |
---|
Exception Struct
access
- publicrequired
- falsereturntype
- anyserializable
- trueExtra info for exception tracking
access
- publicrequired
- falsereturntype
- anyserializable
- trueCustom error messages
access
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
String representation of this error
Get error detail
Get err number
Get error code
Get error extended info
Get lock name
Get lock operation
Get memento representation
Get error message
Get missing file name
Get native error code
Get queryError
Get SQL
Get SQL State
Get error stackTrace
Get error tag context
Get tag context as string
Get error type
Get where portion
exceptionStruct
extraInfo
extraMessage
Set Memento
memento
- The mento to set