search for: myerrorhandl

Displaying 2 results from an estimated 2 matches for "myerrorhandl".

Did you mean: myerrorhandler
2006 May 24
5
Ajax.RssReader object
...c functionality is now available. You can download it from http://www.sayoutloud.com/javascripts/rssreader.js Usage: function myCallbackFunction( rss ) { alert(rss.channel.title); for(n=0; n<rss.items.length; n++) { alert(rss.items[n].title); } } function myErrorHandler( rss ) { alert( ''An error has occured.'' ); } new Ajax.RssReader( ''http://www.mysite.com/feed.xml'', { onSuccess: myCallbackFunction, onFailure: myErrorHandler } ); Please send me your comments and suggestions. Best, Robin ___________________...
2009 Feb 03
0
Multiple statements in tryCatch
...the same way as a C++ try catch structure and pass control to the catch... as soon as an exception is generated. Am I expecting too much or is there a way to tryCatch... multiple statements in R? tryCatch( { conn<-odbcConnect(... results<-sqlQuery(... } , error=function(err)myErrorHandler(... ) . This message is intended only for the use of the person(s) to whom it is addressed. It may contain information which is privileged and confidential. Accordingly any unauthorised use is strictly prohibited. If you are not the intended recipient, please contact the sender as soon as poss...