java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | java.util.EmptyStackException |
An
EmptyStackException
is thrown if the pop/peek method of a stack is
executed on an empty stack.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Constructs a new
EmptyStackException
with the stack trace filled
in.
|
[Expand]
Inherited Methods
|
|||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
|
|||||||||||||||||||||||||||||||||||||
From class
java.lang.Object
|
Constructs a new
EmptyStackException
with the stack trace filled
in.