Class FlightBookingSystemException

java.lang.Object
java.lang.Throwable
java.lang.Exception
bcu.cmp5332.bookingsystem.main.FlightBookingSystemException
All Implemented Interfaces:
Serializable

public class FlightBookingSystemException extends Exception
FlightBookingSystemException extends Exception class and is a custom exception that is used to notify the user about errors or invalid commands.
See Also:
  • Constructor Details

    • FlightBookingSystemException

      public FlightBookingSystemException(String message)
      Constructs a new FlightBookingSystemException with the specified detail message.
      Parameters:
      message - the detail message (which is saved for later retrieval by the getMessage() method)