Re: cfscript equivalent for cfthrow
Oleg, We have a set of user-defined functions that mimic CF functions not available in CFScript that we include in many of our applications. For example, we define throw(), throwType(), and rethrow(): Jon On 3/29/06, Oleg Gunkin <[EMAIL PROTECTED]> wrote: > What's the equivalent to cfthrow inside cfscript? > > try{ > ... > }catch(Any e){ > //Throw new exception > } > > -- > Oleg Gunkin > Email: [EMAIL PROTECTED] > Phone: (604) 666-9392 > Emerging Technologies / Pacific Web Services > Information Technology Services > Public Works and Government Services Canada (Pacific) > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236613 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfscript equivalent for cfthrow
> What's the equivalent to cfthrow inside cfscript? > > try{ > ... > }catch(Any e){ > //Throw new exception > } It's exactly that - try and catch: http://livedocs.macromedia.com/coldfusion/7/htmldocs/0978.htm#1161053 Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236509 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
cfscript equivalent for cfthrow
What's the equivalent to cfthrow inside cfscript? try{ ... }catch(Any e){ //Throw new exception } -- Oleg Gunkin Email: [EMAIL PROTECTED] Phone: (604) 666-9392 Emerging Technologies / Pacific Web Services Information Technology Services Public Works and Government Services Canada (Pacific) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236507 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54