You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.3 KiB
39 lines
1.3 KiB
3 years ago
|
// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
|
||
|
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
|
||
|
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
|
||
|
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
|
||
|
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
|
||
|
// Magicbane Emulator Project © 2013 - 2022
|
||
|
// www.magicbane.com
|
||
|
|
||
|
|
||
|
package engine.exception;
|
||
|
|
||
|
import org.pmw.tinylog.Logger;
|
||
|
|
||
|
|
||
|
public abstract class MBServerException extends Exception {
|
||
|
private static final long serialVersionUID = 3878845236025977250L;
|
||
|
|
||
|
public MBServerException() {
|
||
|
super();
|
||
|
}
|
||
|
|
||
|
public MBServerException(String arg0, Throwable arg1) {
|
||
|
super(arg0, arg1);
|
||
|
}
|
||
|
|
||
|
public MBServerException(String arg0) {
|
||
|
super(arg0);
|
||
|
}
|
||
|
|
||
|
public MBServerException(Throwable arg0) {
|
||
|
super(arg0);
|
||
|
}
|
||
|
|
||
|
public void logException(String origin) {
|
||
|
Logger.error(origin, this.getClass().getSimpleName() + "(1): " + this.getMessage());
|
||
|
|
||
|
}
|
||
|
}
|