package com.snowcattle.game.common.exception;
/**
* @author C172
* 游戏处理错误
*/
public class GameHandlerException extends Exception {
private static final long serialVersionUID = 1L;
public static final int COMMON_ERROR_STATE = 6000;
private int serial;
public GameHandlerException(String name){
super(name);
}
public GameHandlerException(String name,Throwable t){
super(name,t);
}
public GameHandlerException(Exception e){
super(e);
}
public GameHandlerException(Exception e, int serial){
super(e);
this.serial = serial;
}
public int getSerial() {
return serial;
}
}