java.lang
Class StackOverflowError

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

public class StackOverflowError
extends VirtualMachineError

A StackOverflowError is thrown when the execution stack overflow occurs. This often occurs when a method enters infinit recursion.

See Also:
Serialized Form

Constructor Summary
StackOverflowError()
          Create an error without a message.
StackOverflowError(String s)
          Create an error with a message.
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StackOverflowError

public StackOverflowError()
Create an error without a message.


StackOverflowError

public StackOverflowError(String s)
Create an error with a message.

Parameters:
s - the message