Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.util

Class EmptyStackException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.lang.RuntimeException
         |
         +--java.util.EmptyStackException


public class EmptyStackException

extends RuntimeException

This exception is thrown by the Stack class when an attempt is made to pop or otherwise access elements from an empty stack.

Since:Authors:See Also:

Constructor Summary

EmptyStackException()

Constructs an EmptyStackException with no detail message.

Constructor Details

EmptyStackException

public EmptyStackException()

Constructs an EmptyStackException with no detail message.