Hi Aidan, They are in the CFMX docs. Look under the cferror tag. If you don't have the docs to hand goto http://livedocs.macromedia.com/cfmxdocs/.
We do a similar thing in our systems: In Application.cfm <cferror type="EXCEPTION" template="/common/displayerror2.cfm" exception="ANY"> In every template: <cftry> All code here then..... <cfcatch type="Any"> <cfinclude template="#root#/common/globalcatch.cfm"> </cfcatch> </cftry> Adam Hope Senior Application Developer, www.smartgroups.com Freeserve.com Plc, PO Box 452, Leeds LS2 7SW > -----Original Message----- > From: Aidan Whitehall [mailto:[EMAIL PROTECTED]] > Sent: 25 September 2002 16:27 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] Error handling in CFMX > > > > maybe my understanding is a bit off, but the first error (x=y), > happens at > > run time. it's syntax is fine, so the p-code compiles successfully. > only > > when the line is executed is an error generated, as y doesn't exist. > > > > in the second error, there is a syntax error, which is caught before > the > > p-code is compiled. it's not a runtime error, so the exception > handling > > doesn't even come into it. > > Thanks... that makes sense. > > While we're on the subject, does anyone have a list of the possible > values for the exception attribute for when you have <cferror > type="exception"...> ? > > > Regards > > -- > Aidan Whitehall <[EMAIL PROTECTED]> > Macromedia ColdFusion Developer > Fairbanks Environmental +44 (0)1695 51775 > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ______________________________________________________________ > __________ > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
