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.