Skip to content

Commit

Permalink
fix wrong printing message
Browse files Browse the repository at this point in the history
parsePreferredInterval is still wrong message (but idk if can fix)
  • Loading branch information
LimZiJia committed Apr 14, 2024
1 parent 0c00bdb commit b414edc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public static Booking parseBooking(String booking) throws ParseException {
Booking parsedBooking = new Booking(booking);
return parsedBooking;
} else {
throw new ParseException(HousekeepingDetails.MESSAGE_CONSTRAINTS);
throw new ParseException(Booking.MESSAGE_CONSTRAINTS);
}
}

Expand Down

0 comments on commit b414edc

Please sign in to comment.