Skip to content
Snippets Groups Projects
Commit 5ba57114 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

refined exception handling

parent eaf75a18
No related branches found
No related tags found
No related merge requests found
......@@ -281,9 +281,9 @@ public class ExampleSimulationProgram
}
} // end of while loop
}
catch (Exception ex) // handle any exception that your code might choose to provoke!
catch (InterruptedException iex) // handle any exception that your code might choose to provoke!
{
Logger.getLogger(ExampleSimulationProgram.class.getName()).log(Level.SEVERE, null, ex);
Logger.getLogger(ExampleSimulationProgram.class.getName()).log(Level.SEVERE, null, iex);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment