Java Exception Handling (Try-catch)

  • + 5 comments

    Same here bro same here

    // These were my catches
    catch (InputMismatchException e){
    
    	System.out.println("java.util.InputMismatchException");
    
    }
    catch (Exception e){
    	System.out.println(e);
    }