Title:
Bug 84769:(Watson Migration Closure)Summary: <cfretry> / retryI was looking of some Ruby docs, and see Ruby has an interesting construct: "retry"
| View in TrackerStatus/Resolution/Reason: Closed/Deferred/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 10/23/2010
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 8
Problem:
Summary: <cfretry> / retryI was looking of some Ruby docs, and see Ruby has an interesting construct: "retry". Documented here: http://ruby-doc.org/docs/keywords/1.9/files/keywords_rb.html#M000031Basically it causes code execution to return to the beginning of the TRY block, and try again. This could be quite handy in CF, perhaps?-- Adam
Method:
<cftry> <!--- do some process that might or might not work ---> <cfcatch> <!--- perform some remedial action ---> <cfretry> <!--- it might work now, so give it another go ---> </cfcatch></cftry>
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3042554
External Customer Info:
External Company:
External Customer Name: Adam Cameron
External Customer Email: 17EB1A7649DA54C7992015A9
External Test Config: 10/23/2010
Attachments:
Comments: