Class StackOverflowError


public class StackOverflowError extends VirtualMachineError

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

  • 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.