Skip to content

Class JException #31

@nsanitate

Description

@nsanitate

Implement class JException, porting of the Java class java.lang.Exception.

The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.

Expected Behavior

Constructs a new exception with null as its detail message.

  • public 1-params constructor constructor(message: JString)

Constructs a new exception with the specified detail message.

  • public 2-params constructor constructor(message: JString, cause: JThrowable)

Constructs a new exception with the specified detail message and cause.

  • public 1-params constructor constructor(cause: JThrowable)

Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

  • protected 4-params constructor constructor(message: JString, cause: JThrowable, enableSuppression: Jboolean, writableStackTrace: Jboolean)

Constructs a new exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions