Class ReservationPeriodTooSmallException

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

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