Class StackOverflowError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.VirtualMachineError
java.lang.StackOverflowError
- All Implemented Interfaces:
Serializable
Thrown when a stack overflow occurs because an application recurses too deeply.
- Since:
- 1.0
- See Also:
Constructor Summary
ConstructorsConstructorDescriptionConstructs aStackOverflowErrorwith no detail message.Constructs aStackOverflowErrorwith the specified detail message.Method Summary
Methods declared in class java.lang.Throwable
addSuppressed,fillInStackTrace,getCause,getLocalizedMessage,getMessage,getStackTrace,getSuppressed,initCause,printStackTrace,printStackTrace,printStackTrace,setStackTrace,toString
Constructor Details
StackOverflowError
public StackOverflowError()Constructs aStackOverflowErrorwith no detail message.StackOverflowError
Constructs aStackOverflowErrorwith the specified detail message.- Parameters:
s- the detail message.