//Sample19_25.java class Sample19_25{ public static void main(String[] args){ try{ int inputValue = overZero(-1); System.out.println("The input value is " + inputValue); }catch(RuntimeException e){ e.printStackTrace(); } System.out.println("complete"); } public static int overZero(int value){ if(value<0){ throw new RuntimeException("Value less than 0."); } return value; } }