Description
Used with the cftry and cfcatch tags. Retrieves a Java exception object from a Java object.
Returns
Any Java exception object raised by a previous method call on the Java object.
Category
Syntax
GetException(object) |
Parameters
Parameter |
Description |
---|---|
object |
A Java object. |
Usage
ColdFusion stores a Java exception object for each method call on a Java object. Subsequent method calls reset the exception object. To get the current exception object, call GetException on the Java object before other methods are invoked on it.
Example
<!--- Create the Java object reference --->
|