Package bcu.cmp5332.bookingsystem.main
Class FlightBookingSystemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
bcu.cmp5332.bookingsystem.main.FlightBookingSystemException
- All Implemented Interfaces:
Serializable
FlightBookingSystemException extends
Exception
class and is a custom exception
that is used to notify the user about errors or invalid commands.- See Also:
-
Constructor Summary
ConstructorDescriptionFlightBookingSystemException
(String message) Constructs a new FlightBookingSystemException with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FlightBookingSystemException
Constructs a new FlightBookingSystemException with the specified detail message.- Parameters:
message
- the detail message (which is saved for later retrieval by the getMessage() method)
-