We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Protecting against failed web connection
Page Index Toggle Pages: 1
Protecting against failed web connection (Read 602 times)
Protecting against failed web connection
Jul 4th, 2005, 3:50pm
 
Is there any way to prevent a processing app from giving and error and stopping, if it can't make a web connection? How long is the timeout? I'm worried that slow/dodgy connection could send an error to my app and it could stop working during the middle on an exhibition.
Re: Protecting against failed web connection
Reply #1 - Jul 5th, 2005, 2:59pm
 
you might try the "try catch" method

http://processing.org/discourse/yabb/YaBB.cgi?board=Syntax;action=display;num=1104445603;start=2

look up java documentation for details.
Page Index Toggle Pages: 1