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
|
displayScope(any scope)
Build a table for a specific scope to be displayed. |
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
|
openInEditorURL(any event, struct instance)
Compose a screen for a file to open in an editor. |
any
|
processMessage(any str)
Process a message for display. |
any
|
processStackTrace(any str)
Process Stack trace for errors. |
any
|
setExceptionStruct(any exceptionStruct)
|
any
|
setExtraInfo(any extraInfo)
|
any
|
setExtraMessage(any extraMessage)
|
ExceptionBean
|
setMemento(any memento)
Set Memento. |
any
|
stringLimit([any str], [any limit], [any ending='...'])
String limiting utility. |
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
Build a table for a specific scope to be displayed
scope
- The scope to displayGet 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
Compose a screen for a file to open in an editor
event
- The request contextinstance
- An instance of a tag context arrayProcess a message for display
str
- The string to processProcess Stack trace for errors
str
- The stacktrace to processexceptionStruct
extraInfo
extraMessage
Set Memento
memento
- The mento to setString limiting utility
str
- The targetlimit
- The limiting numberending
- The postfix