SalesPoint v3.3 API

data
Class NotEnoughElementsException

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

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