data
Class NotEnoughElementsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
data.NotEnoughElementsException
- All Implemented Interfaces:
- Serializable
- public class NotEnoughElementsException
- extends RuntimeException
Exception thrown by Stock
if you attempt to remove more elements than there are actually available.
- Since:
- v2.0
- Author:
- Steffen Zschaler
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.