|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--reservations.ReservationException
ReservationException is the superclass of those exceptions that are related to the reservation system.
| Constructor Summary | |
ReservationException()
Constructs an ReservationException with no message string. |
|
ReservationException(java.lang.String message)
Constructs an ReservationException with the specified message string. |
|
ReservationException(java.lang.String message,
java.lang.Exception e)
Constructs an ReservationException with the specified message string and encapsulating some other Exception. |
|
| Method Summary | |
java.lang.String |
toString()
Returns the exception message text, if any as well that for the wrapped exception, if one was specified on construction. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ReservationException()
public ReservationException(java.lang.String message)
public ReservationException(java.lang.String message,
java.lang.Exception e)
| Method Detail |
public java.lang.String toString()
toString in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||