Added in API level 1

EmptyStackException

open class EmptyStackException : RuntimeException
kotlin.Any
   โ†ณ kotlin.Throwable
   โ†ณ java.lang.Exception
   โ†ณ java.lang.RuntimeException
   โ†ณ java.util.EmptyStackException

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

Summary

Public constructors

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

Public constructors

EmptyStackException

Added in API level 1
EmptyStackException()

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