Connecting Tech Pros Worldwide Forums | Help | Site Map

Error Redirect

Member
 
Join Date: Mar 2008
Posts: 114
#1: Oct 12 '09
Is there a way to use a try catch statement in Java and when it catches an error call a method or tell it to go to a specific part of the program. If so how?

Thanks in advance!

Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#2: Oct 13 '09

re: Error Redirect


You mean you don't know how to call a method from within a try block?
Well do you know how to call a method from anywhere then?
Reply

Tags
catch, error, java