Most visited

Recently visited

Added in API level 1

StackOverflowError

public class StackOverflowError
extends VirtualMachineError

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ java.lang.VirtualMachineError
         ↳ java.lang.StackOverflowError


由于应用程序递归太深而发生堆栈溢出时抛出。

Summary

Public constructors

StackOverflowError()

构造一个没有详细信息的 StackOverflowError

StackOverflowError(String s)

用指定的详细信息构造一个 StackOverflowError

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

StackOverflowError

Added in API level 1
StackOverflowError ()

构造一个没有详细信息的 StackOverflowError

StackOverflowError

Added in API level 1
StackOverflowError (String s)

用指定的详细信息构造一个 StackOverflowError

Parameters
s String: the detail message.

Hooray!