public class ExceptionEvent extends Event
Errors and WebSocketExceptions
It is not recommended to simply use this and print each event as some throwables where already logged
by JDA. See isLogged().
| Constructor | Description |
|---|---|
ExceptionEvent(JDA api,
java.lang.Throwable throwable,
boolean logged) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Throwable |
getCause() |
The cause Throwable for this event
|
boolean |
isLogged() |
Whether this Throwable was already printed using the JDA logging system
|
getJDA, getResponseNumberpublic ExceptionEvent(JDA api, java.lang.Throwable throwable, boolean logged)