Thursday 14 March 2013

java.util EmptyStackException


java.util
EmptyStackException

Declaration
public class EmptyStackException extends java.lang.RuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.util.EmptyStackException
Description
Thrown by methods in the Stack class to indicate that the stack is empty.
Since: JDK1.0, CLDC 1.0


Constructors
EmptyStackException()
Inherited Member Summary
Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()


Constructors
EmptyStackException()
Declaration:
public EmptyStackException()

EmptyStackException()

Description:
Constructs a new EmptyStackException with null as its error message string.



No comments:

Post a Comment