试试这个:
try{ throw new InvalidEmployeeTypeException(); input.nextLine();}catch(InvalidEmployeeTypeException ex){ //do error handling}continue;
试试这个:
try{ throw new InvalidEmployeeTypeException(); input.nextLine();}catch(InvalidEmployeeTypeException ex){ //do error handling}continue;