public class EmptyStackException extends RuntimeException
EmptyStackException
is thrown if the pop/peek method of a stack is
executed on an empty stack.RuntimeException
,
Serialized FormConstructor and Description |
---|
EmptyStackException()
Constructs a new
EmptyStackException with the stack trace filled
in. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString