org.salespointframework.core.exceptions
Class NotEnoughElementsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.salespointframework.core.exceptions.NotEnoughElementsException
All Implemented Interfaces:
java.io.Serializable

public class NotEnoughElementsException
extends java.lang.RuntimeException

Exception thrown by Stock if you attempt to remove more elements than there are actually available.

Since:
v2.0
Version:
2.0 18/08/1999
Author:
Steffen Zschaler
See Also:
Serialized Form

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

Parameters:
sDetail - the detail message.