datastructures

net.datastructures
Class EmptyStackException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bynet.datastructures.EmptyStackException
All Implemented Interfaces:
Serializable

public class EmptyStackException
extends RuntimeException

Runtime exception thrown when one tries to perform operation top or pop on an empty stack.

Author:
Roberto Tamassia
See Also:
Serialized Form

Constructor Summary
EmptyStackException(String err)
           
 
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

EmptyStackException

public EmptyStackException(String err)

datastructures