RE: CFTRY / CFCATCH questions

2001-04-24 Thread Dave Watts
that's incorrect, actually. it will catch them in the order defined. so if there is an ALL first, there will never be any other. basically, it starts at the first CATCH, compares exception types. if it is a match, that handler occurs, if not, it examines the next one in order, ad

RE: CFTRY / CFCATCH questions

2001-04-24 Thread Andrew Tyrone
-Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 1:20 PM To: CF-Talk Subject: RE: CFTRY / CFCATCH questions that's incorrect, actually. it will catch them in the order defined. so if there is an ALL first, there will never

RE: CFTRY / CFCATCH questions

2001-04-24 Thread Dave Watts
I'd argue that you're best off putting TYPE=all last anyway, though. And on another note, if you use type=ANY instead of ALL, it will work ;o) Sorry, I couldn't resist. I love error handling in CF, especially in 4.5+, since it's very advanced for a tag based language. One of the

Re: CFTRY / CFCATCH questions

2001-04-23 Thread Bryan LaPlante
There are no requirements on the order of cfcatch statements that I'm aware of. - Original Message - From: Jeffry Houser [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, April 23, 2001 6:45 PM Subject: CFTRY / CFCATCH questions I know that at least one CFCATCH must be

RE: CFTRY / CFCATCH questions

2001-04-23 Thread Christopher Cortes
Jeffry, Your last statement prior to the closing try needs to be a catch. If you are running multiple catches and you also want to catch all, the all statement needs to come last. - Chris !--- Christopher Cortes |Coming

RE: CFTRY / CFCATCH questions

2001-04-23 Thread Christopher Olive, CIO
, until the last catch (which should probably be an ALL JIC) chris olive, cio cresco technologies [EMAIL PROTECTED] http://www.crescotech.com -Original Message- From: Bryan LaPlante [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 9:00 PM To: CF-Talk Subject: Re: CFTRY / CFCATCH