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:
<cfif FindNoCase("wordORphrase",cfcatch.detail)>
cfcatch.detail will give you your stack and the stack has all the executions
prior to encountering the exception.
Teddy
On 5/2/07, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
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 back some code for
> this problem?
> <cftry>
> <cfhttp method="post" url="someurl" throwOnError="yes" charset="utf-8"
> timeout="3">
> <cfcatch type="any">
> <cfset errorCheck="X">
> </cfcatch>
> </cftry>
>
> Then,
>
> <cfif (errorCheck IS "X")> don't do blah <cfelse> do blah </cfif>
>
>
> The problem I am having is that there are various errors that can come
> back from this particular HTTP request. So, this works sometimes, not
> others.
>
> _____________
> Derrick Peavy
> Sales and Web Services
> CollegeClassifieds.com
> http://www.collegeclassifieds.com
> A Service of Universal Advertising, inc.
> ___________________________________
>
>
>
--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink <http://www.fusionlink.com>
-------------------------------------------------------------
--
Teddy R. Payne
Adobe Certified ColdFusion MX 7 Developer
Google Talk - [EMAIL PROTECTED]
Atlanta ColdFusion User Group - http://www.acfug.org
Atlanta Flash & Flex User Group - http://www.affug.org
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------