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.
- Version:
- $Revision: 1.3 $, $Date: 1998/07/07 19:27:39 $
- Author:
- Mark Handy (mdh)
-
EmptyContainerException(String)
-
EmptyContainerException
public EmptyContainerException(String message)
All Packages Class Hierarchy This Package Previous Next Index