2019-06-02 05:03:08 +03:00
|
|
|
package pro.gravit.launcher.events;
|
2019-04-19 23:51:27 +03:00
|
|
|
|
2019-09-05 14:51:48 +03:00
|
|
|
import pro.gravit.launcher.LauncherNetworkAPI;
|
|
|
|
|
2019-04-19 23:51:27 +03:00
|
|
|
public class ExceptionEvent extends RequestEvent {
|
|
|
|
public ExceptionEvent(Exception e) {
|
|
|
|
this.message = e.getMessage();
|
|
|
|
this.clazz = e.getClass().getName();
|
|
|
|
}
|
2019-10-19 19:46:04 +03:00
|
|
|
|
2019-09-05 14:51:48 +03:00
|
|
|
@LauncherNetworkAPI
|
2019-04-19 23:51:27 +03:00
|
|
|
public final String message;
|
2019-09-05 14:51:48 +03:00
|
|
|
@LauncherNetworkAPI
|
2019-04-19 23:51:27 +03:00
|
|
|
public final String clazz;
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getType() {
|
|
|
|
return "exception";
|
|
|
|
}
|
|
|
|
}
|