Class BookingConflictException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.equipmentrental.equipment_rental_system.exception.BookingConflictException
- All Implemented Interfaces:
Serializable
Thrown when a new booking conflicts with an existing confirmed booking
for the same equipment item (BR-02). The date ranges overlap and the
reservation cannot proceed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBookingConflictException(String equipmentName, String dateFrom, String dateTo) Creates a new exception describing the conflict. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BookingConflictException
-