jdsl.core.api
Class EmptyContainerException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--jdsl.core.api.CoreException
                          |
                          +--jdsl.core.api.EmptyContainerException

public class EmptyContainerException
extends CoreException

An EmptyContainerException indicates (duh) that the Container can't fulfill the requested operation because it is empty. In general, it is thrown when the operation cannot be completed ONLY when the container is empty (for instance, the only time there is no first() in a sequence is when the sequence is empty). When emptiness is just a special case of "not enough" of something, a BoundaryViolationException is used instead.

Author:
Mark Handy (mdh)
See Also:
Serialized Form

Constructor Summary
EmptyContainerException(java.lang.String message)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmptyContainerException

public EmptyContainerException(java.lang.String message)