UNPKG

typesforbukkit

Version:

Types For Bukkit

16 lines (15 loc) 1.19 kB
namespace java.lang { export class Throwable { /** @description Constructs a new throwable with null as its detail message */ protected constructor(); /** @description Constructs a new throwable with the specified detail message */ protected constructor(message: String); /** @description Constructs a new throwable with the specified detail message and cause */ protected constructor(message: String, cause: java.lang.Throwable); /** @description Constructs a new throwable 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 throwable 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) {} } }