I know that at least one CFCATCH must be put inside a CFTRY block.  How 
picky is CF on the order of the tags, though?  for example:

<CFTRY>
   Some code
   <CFCATCH type="Database">
   </CFCATCH>

   <CFCATCH type="object">
   </CFCATCH>

   <CFCATCH type="all">
   </CFCATCH>

</CFTRY>


     First off, can you use an 'all' catch with other specialized catches 
defined?  Would a database exception catch at 'all' or would it catch at 
'database'?  If I changed the code around to look like this:


<CFTRY>
   Some code

   <CFCATCH type="all">
   </CFCATCH>

   <CFCATCH type="Database">
   </CFCATCH>

   <CFCATCH type="object">
   </CFCATCH>


</CFTRY>


Then, where would a database exception catch?  At 'all' or at 'database'?


If I put the code after the CFCATCHs, would an error catch?  Like this:

<CFTRY>

   <CFCATCH type="Database">
   </CFCATCH>

   <CFCATCH type="object">
   </CFCATCH>

   <CFCATCH type="all">
   </CFCATCH>

   Some code
</CFTRY>


   Thoughts, comments?  Much thanks!



Jeffry Houser | mailto:[EMAIL PROTECTED]
AIM: Reboog711  | ICQ: 5246969 | Phone: 860-229-2781
--
Instant ColdFusion 5.0  | ISBN: 0-07-213238-8
Due out June 2001
--
DotComIt, LLC
database driven web data using ColdFusion, Lotus Notes/Domino
--
Half of the Alternative Folk Duo called Far Cry Fly
http://www.farcryfly.com | http://www.mp3.com/FarCryFly


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to