Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

exception handling and reprompting

boolean flag = false;
while(!flag)
{
//make the loop break, if no exception caught
flag = true;
    try{

    }
    catch{
       //make the loop repeat
       flag = false;
    }
 }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #exception #handling #reprompting
ADD COMMENT
Topic
Name
4+1 =