-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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
-
extends
JThrowableclass -
implements
JSerializableinterface -
public 0-params constructor
constructor()
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.