CFDUMP the cfcatch variable!
Put this in a CF page and run it and you'll see all of the properties and
their types.
<CFTRY>
<CFTHROW TYPE="Test" MESSAGE="TestMessage">
<CFCATCH TYPE="any">
<CFDUMP VAR="#cfcatch#">
</CFCATCH>
</CFTRY>
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Danilo Celic
Sent: Friday, January 16, 2004 10:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] Making sure is not called out of sequence
Bryan F. Hogan wrote:
> The stacktrace has an array of callers. I would modify his code to check
> the arrayIndex().
Ok, good to know thanks, Bryan.
Can anyone point me to a good reference on cfcatch.StackTrace as this
livedocs page:
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-a10.htm#wp339503
8
doesn't mention the cfcatch.StackTrace that is in this bit of code that was
posted:
<CFCATCH TYPE="any">
<CFSET sStack = cfcatch.StackTrace>
</CFCATCH>
--
Enjoy,
Danilo Celic
| Extending Knowledge, Daily
| http://www.CommunityMX.com/
Those who aren't looking often have their eyes open widest.
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]