public class

EmptyStackException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.util.EmptyStackException

Class Overview

Thrown by methods in the Stack class to indicate that the stack is empty.

See Also

Summary

Public Constructors
EmptyStackException()
Constructs a new EmptyStackException with null as its error message string.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public EmptyStackException ()

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