Re: [ACFUG Discuss] catch/try for cfhttp

2007-05-02 Thread Derrick Peavy
Kevin, One of the errors I have seen in the returned data is: Next character must be ">" terminating declaration "% HTML.Version". Happens when the site I am connecting to is having problems. There are other conditions as well. Trying to do a condition for each possible error is nuts. Th

Re: [ACFUG Discuss] catch/try for cfhttp

2007-05-02 Thread Kevin
I am not sure what error you are getting here. But maybe you can try the cfhttp.statuscode instead. ie cheers! On 5/2/07, Steven Ross <[EMAIL PROTECTED]> wrote: Try changing catch to your particular error condition that you want to trap for. Instead of trapping for "any". On 5/2/07, Derri

Re: [ACFUG Discuss] catch/try for cfhttp

2007-05-02 Thread Teddy R. Payne
In CF 7, cfcatch returns the java errors that are encountered. You could easily search for specific errors by searching through the cfcatch.details variable. Similar to: cfcatch.detail will give you your stack and the stack has all the executions prior to encountering the exception. Teddy O

Re: [ACFUG Discuss] catch/try for cfhttp

2007-05-02 Thread Douglas Knudsen
How are these "errors that can come back from this particular HTTP request" being returned? I don't think cfcatch can find custom errors in there, rather it would kick in if cfhttp fails. DK On 5/2/07, Derrick Peavy <[EMAIL PROTECTED]> wrote: Can anyone offer a better solution, possibly email

Re: [ACFUG Discuss] catch/try for cfhttp

2007-05-02 Thread Steven Ross
Try changing catch to your particular error condition that you want to trap for. Instead of trapping for "any". On 5/2/07, Derrick Peavy <[EMAIL PROTECTED]> wrote: Can anyone offer a better solution, possibly email back some code for this problem? Then, don't do blah do blah

[ACFUG Discuss] catch/try for cfhttp

2007-05-02 Thread Derrick Peavy
Can anyone offer a better solution, possibly email back some code for this problem? charset="utf-8" timeout="3"> Then, don't do blah do blah The problem I am having is that there are various errors that can come back from this particular HTTP requ