java.lang
Class StackOverflowError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byjava.lang.VirtualMachineError
              extended byjava.lang.StackOverflowError
All Implemented Interfaces:
Serializable

public class StackOverflowError
extends VirtualMachineError

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.

See Also:
Serialized Form

Constructor Summary
StackOverflowError()
          Constructs a new instance of this class with its walkback filled in.
StackOverflowError(java.lang.String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StackOverflowError

public StackOverflowError()
Constructs a new instance of this class with its walkback filled in.


StackOverflowError

public StackOverflowError(java.lang.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.