DrinkException.java package Drink;public class DrinkException extends RuntimeException{private static final long serialVersionUID = 1L;private String courseName;private double errorValue;//캯public DrinkException(){}public DrinkException(S
package Drink; public class DrinkException extends RuntimeException{ private static final long serialVersionUID = 1L; private String courseName; private double errorValue; //캯 public DrinkException(){} public DrinkException(String course,double errorvalue){ super(course+"쳣"); courseName=course; errorValue=errorvalue; } public String getCourseName(){ return this.courseName; } public double getErrorValue(){ return this.errorValue; } }