SalesPoint Framework v3.1

data
Class NotEnoughElementsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bydata.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

Constructor Summary
NotEnoughElementsException()
          Create a new NotEnoughElementsException.
NotEnoughElementsException(String sDetail)
          Create a new NotEnoughElementsException with a detail 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

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.

SalesPoint Framework v3.1