加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090303144754/http://developer.android.com:80/reference/java/lang/StackOverflowError.html
public class

StackOverflowError

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

Class Overview

This error is thrown when the depth of the callstack of the running program excedes some platform or virtual machine specific limit. Typically, this will occur only when a program becomes infinitely recursive, but can occur in correctly written (but deeply recursive) programs.

Summary

Public Constructors
StackOverflowError()
Constructs a new instance of this class with its walkback filled in.
StackOverflowError(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public StackOverflowError ()

Constructs a new instance of this class with its walkback filled in.

public StackOverflowError (String detailMessage)

Constructs a new instance of this class with its walkback and message filled in.

Parameters
detailMessage String The detail message for the exception.