net.datastructures
Class EmptyStackException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.datastructures.EmptyStackException
All Implemented Interfaces:
java.io.Serializable

public class EmptyStackException
extends java.lang.RuntimeException

Runtime exception thrown when one tries to perform operation top or pop on an empty stack. //end#fragment EmptyStackException

Author:
Roberto Tamassia //begin#fragment EmptyStackException
See Also:
Serialized Form

Constructor Summary
EmptyStackException(java.lang.String err)
           
 
Method Summary
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmptyStackException

public EmptyStackException(java.lang.String err)