Within a CFCATCH block, the active exception's properties can be accessed as variables:
CFCATCH.TYPE -- The exception's type, returned as a string:
- Application
- Database
- Template
- MissingInclude
- Object
- Security
- Expression
- Lock
- Any
CFCATCH.MESSAGE -- The exception's diagnostic message, if one was provided. If no diagnostic message is available, this is an empty string.
CFCATCH.DETAIL -- A detailed message from the CFML interpreter. This message, which contains HTML formatting, can help to determine which tag threw the exception.
|