I will try this... I still have yet to get an answer from LinkPoint. Gosh
the sad thing is I have heard they are supposed to be pretty good. If that
true I can't imagine what others are like. I guess since they no longer
support ColdFusion it's not going to be easy to get help from them.
Neal Bailey
Internet Marketing Manager
E-mail: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
_____
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 8:53 AM
To: CF-Talk
Subject: RE: Linkpoint API Host not responding problem.
Here is an example from the documentation. I'm not sure exactly where you
would put this in our code, quite possibly you would put it in multiple
locations of your code.
<blockquote>
* You can nest cftry blocks. For example, the following structure is valid:
<cftry>
code that may cause an exception
<cfcatch ...>
<cftry>
First level of exeption handling code
<cfcatch ...>
Second level of exception handling code
</cfcatch
</cftry>
</cfcatch>
</cftry>
If an exception occurs in the first level of exception-handling code, the
inner cfcatch block can catch and handle it. (An exception in a cfcatch
block cannot be handled by cfcatch blocks at the same level as that block.)
</blockquote>
This shows the concept of putting nested try-catch blocks inside the the
catch block of other try-catch blocks. (That is not an awkward sentence!)
Anyway, you can use something like this to try a piece of code as many times
as you like, then still have an out of none of the trays work.
What I would probably do is put the code I'm trying in some kind of included
source (cfinclude, custom tag, UDF or CFC) then I could call the code in
multiple locations of the nested try-catch blocks without having to re-code
it every time.
HTH
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

