Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public class StackOverflowError

  1. Object
  2. Throwable
  3. Error
  4. VirtualMachineError
  5. StackOverflowError

Thrown when a stack overflow occurs because an application recurses too deeply.

Present on every target – ParparVM’s java.lang has it, and so does every JVM the simulator runs on. It was simply missing from this stub, so framework code could not name the error it wanted to throw.

Since: JDK1.0, CLDC 1.0

Constructors

public StackOverflowError()Constructs a StackOverflowError with no detail message.
public StackOverflowError(String s)Constructs a StackOverflowError with the specified detail message.

Inherited methods

Constructor details

StackOverflowError

public StackOverflowError()
Constructs a StackOverflowError with no detail message.

StackOverflowError

public StackOverflowError(String s)
Constructs a StackOverflowError with the specified detail message. s - the detail message.