blob: a6d8c0a2a5d89f9f5ef8a5cbf177271fecd181d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package kz.ilotterytea.frogartha.exceptions;
public class PlayerKickException extends RuntimeException {
private PlayerKickException(String message) {
super(message);
}
public static PlayerKickException loggedIn() {
return new PlayerKickException("You logged in from another location");
}
public static PlayerKickException internalServerError() {
return new PlayerKickException("Internal Server Error");
}
}
|