Class ReservationPeriodTooBigException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.gustavblass.commons.exceptions.IllegalArgumentException
de.gustavblass.fsu.fmi.roombooking.exceptions.ReservationPeriodTooBigException
All Implemented Interfaces:
Serializable

@ResponseStatus(value=BAD_REQUEST, reason="The request to book a room was rejected because the start time and end time are too far apart.") public class ReservationPeriodTooBigException extends de.gustavblass.commons.exceptions.IllegalArgumentException
Indicates that the Reservation cannot be placed because the Reservation.startDate and Reservation.endDate are too far apart.
See Also: