jdsl.core.api
Class NotEmptyContainerException

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

public class NotEmptyContainerException
extends CoreException

A NotEmptyContainerException indicates that the Container can't fulfill the requested operation because it is not empty. In general, it is thrown when the operation cannot be completed ONLY when the container is not empty. (for instance, setComparator() on a container with elements in it)

Author:
Mike Boilen (mgb)
See Also:
Serialized Form

Constructor Summary
NotEmptyContainerException(java.lang.String message)
          Creates a new exception with a given 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

NotEmptyContainerException

public NotEmptyContainerException(java.lang.String message)
Creates a new exception with a given message.
Parameters:
message - the message associated with this exception.