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.
Except as noted, this content is licensed under Apache 2.0. For details and restrictions, see the Content License.
Android 6.0 r1 —
* Required Fields
You have successfully signed up for the latest Android developer news and tips.