OK, here's an interesting question.  I'll bypass the gory details of why
for now and get to it.  Is it possible to catch an error, modify that
error object and then rethrow it without have to extract all the pieces
of it to re-create the error (which may or may not even be possible).

If you cfthrow an error, you can add in properties like Extendedinfo
into the error which you can use later on down the road.  However, the
Java error object that CF errors throw don't have ExtendedInfo and as of
CF8 (according to the docs) error objects cannot be modified.

I know that you can create a Java.lang.exception object with cfobject
and pass that into cfthrow for throwing, but I don't think that solves
my problem.

~Brad
 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317342
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to