Added in API level 1

StackOverflowError

open class StackOverflowError : VirtualMachineError
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Error
   ↳ java.lang.VirtualMachineError
   ↳ java.lang.StackOverflowError

Thrown when a stack overflow occurs because an application recurses too deeply.

Summary

Public constructors

Constructs a StackOverflowError with no detail message.

Constructs a StackOverflowError with the specified detail message.

Public constructors

StackOverflowError

Added in API level 1
StackOverflowError()

Constructs a StackOverflowError with no detail message.

StackOverflowError

Added in API level 1
StackOverflowError(s: String!)

Constructs a StackOverflowError with the specified detail message.

Parameters
s String!: the detail message.