public static void getExceptionMessage(String data, InputMismatchException e) {        
        if (e.getMessage() == null) {
            System.out.println("  >> ERROR: Invalid input. Enter " +
                               data + " detail again.");
        } else {
            System.out.println("  >> ERROR: " + e.getMessage());
        }
    }