java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--OutOfStockException
An Exception that represents the warehouse being unable to fulfill a request.
| Field Summary |
| Fields inherited from class java.lang.Exception |
|
| Constructor Summary | |
OutOfStockException(java.lang.String message)
Constructs an OutOfStockException with the given message. |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public OutOfStockException(java.lang.String message)
message - The message to be included in this exception.