java.util
Class EmptyStackException

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

public class EmptyStackException
extends RuntimeException

Runtime exception which is thrown when pop/peek method of stack is executed on a stack which is empty

See Also:
Serialized Form

Constructor Summary
EmptyStackException()
          Constructs a new instance of this class with its walkback filled in.
 
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()
Constructs a new instance of this class with its walkback filled in.