Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

Try Catch with Multiple Catch in Java

  1. try
  2. {
  3. //Write the code to find the error/exceptions
  4. }
  5. catch(NumberFormatException ne)
  6. {
  7. //Display the Error Message
  8. }
  9. catch(IOException ioe)
  10. {
  11. //Display the Error Message
  12. }
  13.