Re: cftry question

2009-11-18 Thread Keith McGee
Thanks, I got it to work ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328486

Re: cftry question

2009-11-18 Thread Scott Stroz
You can use different 'types' of catches. See here for more info, http://www.cfquickdocs.com/cf8/#cfcatch On Wed, Nov 18, 2009 at 8:08 AM, Keith McGee wrote: > > I want to catch missing template errors only, > > for example if a user has a link to an old template I don't want my > exception.cf

RE: CFTry Question

2000-03-29 Thread Robert Everland III
March 29, 2000 3:07 PM To: [EMAIL PROTECTED] Subject: RE: CFTry Question Thanks David this works but I was kind of hoping it worked more like CFIF or CFSWITCH like below The file could not be updated. File is

RE: CFTry Question

2000-03-29 Thread Duane Boudreau
-Original Message- From: David Gassner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 29, 2000 1:12 PM To: [EMAIL PROTECTED] Subject: RE: CFTry Question How about... The file could not be updated. File is locked or read only

RE: CFTry Question

2000-03-29 Thread Larry Meadors
You can use to throw your own exceptions. I thought I saw a in fhe cf45 docs that I think woudl do what you want... Larry >>> [EMAIL PROTECTED] 03/29/00 11:32AM >>> I think what he is looking for is a way to return an exception, instead of abort processing. I'd be interested in a solution to

RE: CFTry Question

2000-03-29 Thread jstiefel
t: Re: CFTry Question >How do I return a success from CFTry? >I have wrapped cftry around a cfflile call to intercept error messages if >the file can not be updated but I want to return a success message if the >was no errors. Here is what I have: > > > > > The file coul

RE: CFTry Question

2000-03-29 Thread David Gassner
How about... The file could not be updated. File is locked or read only. Display success message... > I have wrapped cftry around a cfflile call to intercept error messages if > the file can not be updated but I want t

RE: CFTry Question

2000-03-29 Thread Chris Evans
If it doesn't fail, it works. So if it isn't caught, it succeeded. It worked! The file could not be updated. File is locked or read only. Chris Evans [EMAIL PROTECTED] http://www.fuseware.com -Original Message- From: Duan

Re: CFTry Question

2000-03-29 Thread Brandon Whitaker
>How do I return a success from CFTry? >I have wrapped cftry around a cfflile call to intercept error messages if >the file can not be updated but I want to return a success message if the >was no errors. Here is what I have: > > > > > The file could not be updated. File is locked or read only.

RE: CFTry Question

2000-03-29 Thread Olive, Christopher M Mr USACHPPM
it will just fall through the TRY/CATCH if it's successful. eg: The file could not be updated. File is locked or read only. #Output success message here# Chris Olive DOHRS Website Administrator [EMAIL PROTECTED] -Original Message- From: Du

RE: CFTry Question

2000-03-29 Thread MFleming
Simply enter your success text after you close your cfcatch... like so: The file could not be updated. File is locked or read only. The file was uploaded. Mike Fleming CF Codeslinger "I spent my whole life not knowing what I want out of it, j