org.placelab.util
Class EmptyHeapException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.placelab.util.UnderflowException
                  extended byorg.placelab.util.EmptyHeapException
All Implemented Interfaces:
java.io.Serializable

public class EmptyHeapException
extends UnderflowException

This exception signifies an invalid access on an empty heap. We subclass UndeflowException because this is a type of underflow. However, it is nice, since exceptions are dispatched on type, to make a more specific exception so we have more information on what happened if/when we try to handle the error.

See Also:
Serialized Form

Constructor Summary
EmptyHeapException()
           
EmptyHeapException(java.lang.String message)
           
 
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

EmptyHeapException

public EmptyHeapException()

EmptyHeapException

public EmptyHeapException(java.lang.String message)