data
Class NotEnoughElementsException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--data.NotEnoughElementsException
- public class NotEnoughElementsException
- extends RuntimeException
Exception thrown by Stock
if you attempt to remove more elements than there are actually available.
- Since:
- v2.0
- See Also:
- Serialized Form
- Source Code:
- NotEnoughElementsException.java
NotEnoughElementsException
public NotEnoughElementsException()
- Create a new NotEnoughElementsException.
NotEnoughElementsException
public NotEnoughElementsException(String sDetail)
- Create a new NotEnoughElementsException with a detail message.
- Parameters:
sDetail
- the detail message.