package com.flightticket.exception;

/**
 * Exception thrown when a booking modification is not allowed.
 * 
 * This exception is thrown when:
 * - Booking status is not CONFIRMED
 * - Flight has already departed
 * - Modification is within 24 hours of departure
 * - Fare class does not allow modifications
 * - Agent does not have permission for the booking
 * 
 * Requirements: 1.4, 9.1, 9.2, 9.3, 9.4, 9.5
 */
public class ModificationNotAllowedException extends RuntimeException {
    
    public ModificationNotAllowedException(String message) {
        super(message);
    }
    
    public ModificationNotAllowedException(String message, Throwable cause) {
        super(message, cause);
    }
}
