All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jdsl.core.api.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.


Constructor Index

 o EmptyContainerException(String)

Constructors

 o EmptyContainerException
 public EmptyContainerException(String message)

All Packages  Class Hierarchy  This Package  Previous  Next  Index