typesforbukkit
Version:
Types For Bukkit
19 lines (18 loc) • 1.75 kB
text/typescript
namespace java.lang {
/** @description The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch. The class Exception and any subclasses that are not also subclasses of RuntimeException are checked exceptions. Checked exceptions need to be declared in a method or constructor's throws clause if they can be thrown by the execution of the method or constructor and propagate outside the method or constructor boundary */
export class Exception extends java.lang.Throwable {
/** @description Constructs a new exception with null as its detail message */
protected constructor();
/** @description Constructs a new exception with the specified detail message */
protected constructor(message: String);
/** @description Constructs a new exception with the specified detail message and cause */
protected constructor(message: String, cause: java.lang.Throwable);
/** @description Constructs a new exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled */
protected constructor(message: String, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
/** @description 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 constructor(cause: java.lang.Throwable);
protected constructor(message?: any, cause?: any, enableSuppression?: any, writableStackTrace?: any) {
super();
}
}
}