java.util.EmptyStackException
java.lang.RuntimeException
None
None
JDK 1.0 or later
An EmptyStackException is thrown by methods of the Stack class when an operation cannot be completed because the stack is empty.
public class java.util.EmptyStackException extends java.lang.RuntimeException { // Constructors public EmptyStackException(); }
This constructor creates an EmptyStackException with no associated detail message.
Method |
Inherited From |
Method |
Inherited From |
---|---|---|---|
clone() |
Object |
equals(Object) |
Object |
fillInStackTrace() |
Throwable |
finalize() |
Object |
getClass() |
Object |
getLocalizedMessage() |
Throwable |
getMessage() |
Throwable |
hashCode() |
Object |
notify() |
Object |
notifyAll() |
Object |
printStackTrace() |
Throwable |
printStackTrace(PrintStream) |
Throwable |
printStackTrace(PrintWriter) |
Throwable |
toString() |
Throwable |
wait() |
Object |
wait(long) |
Object |
wait(long, int) |
Object |
Exception, RuntimeException, Stack
This HTML Help has been published using the chm2web software. |