I changed the cfcatch type = "any" and the code executes without error...

<cfcatch type="Any">

Jay

> -----Original Message-----
> From: James Sleeman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 22, 2000 1:15 AM
> To: [EMAIL PROTECTED]
> Subject: Wierd error
>
>
> The following code is producing a CF error, and some very strange output
> (not what I would expect AT ALL, where the hell does "Hello ..
> 11" come from
> ?!?!?! ), any ideas why anyone ?
>
> The code
> ---------- CUT HERE ----------
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>
> <html>
> <head>
>  <title>Untitled</title>
> </head>
>
> <body>
> <CFLOOP FROM=1 TO=6 INDEX="x">
>  <CFOUTPUT>Hello .. #x#<BR></CFOUTPUT>
> </CFLOOP>
>
> <CFLOOP FROM=1 TO=10 INDEX="x">
>  <CFOUTPUT>Hoopy .. #x#<BR></CFOUTPUT>
> </CFLOOP>
>
>  Hoopy !<BR>
> <CFTRY>
> <CFTHROW TYPE="BORKY" MESSAGE="You blah !" DETAIL="Blah!">
>
> <CFCATCH TYPE="BORKY">
>   Hey error boy, what's the error today ?<BR>
>   <CFOUTPUT>#CFCATCH.Message#<BR>#CFCATCH.Detail#</CFOUTPUT><BR>
> </CFCATCH>
> </CFTRY>
>  La De Da
> </body>
> </html>
> ----------------------------------
>
> The output
> --------- CUT HERE -----------
> Hello .. 1
> Hello .. 2
> Hello .. 3
> Hello .. 4
> Hello .. 5
> Hello .. 6
> Hoopy .. 1
> Hoopy .. 2
> Hoopy .. 3
> Hoopy .. 4
> Hoopy .. 5
> Hoopy .. 6
> Hoopy .. 7
> Hoopy .. 8
> Hoopy .. 9
> Hoopy .. 10
> Hoopy !
> Hello .. 11
> -----------------------------------
>
>
> The error
> -------------------------------------------------
> Error Diagnostic Information
> unknown exception condition
>
> unknown error while executing a tag.
>
>
> Date/Time: 05/22/00 16:52:02
> Browser: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)
> Remote Address: 10.10.10.105
> -----------------------------------------
>
>
> ---
> James Sleeman,
>   E-Commerce, Database, Programmer
>   Innovative Media Ltd
>
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to