> Is there a good way to catch when your database is down and
> throw a custom error message?

If you're using CF 4.5.x, you can use the new TYPE="EXCEPTION" attribute
with the CFERROR tag. Then, you could respond specifically to the general
category of unhandled database exceptions (queries that fail at runtime, and
aren't wrapped within CFTRY/CFCATCH blocks).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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