Launcher/LauncherAPI/src/main/java/pro/gravit/launcher/events/ExceptionEvent.java
2019-10-19 23:46:16 +07:00

20 lines
461 B
Java

package pro.gravit.launcher.events;
import pro.gravit.launcher.LauncherNetworkAPI;
public class ExceptionEvent extends RequestEvent {
public ExceptionEvent(Exception e) {
this.message = e.getMessage();
this.clazz = e.getClass().getName();
}
@LauncherNetworkAPI
public final String message;
@LauncherNetworkAPI
public final String clazz;
@Override
public String getType() {
return "exception";
}
}