Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class JException #31

Open
nsanitate opened this issue Jul 28, 2017 · 0 comments
Open

Class JException #31

nsanitate opened this issue Jul 28, 2017 · 0 comments

Comments

@nsanitate
Copy link
Member

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.

@nsanitate nsanitate changed the title Class Exception Class JException Jul 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant