package com.ks.tool.bkz.exception; public class BaseException extends Exception { private int code; private String msg; public BaseException(int code, String msg) { this.code = code; this.msg = msg; } public int getCode() { return code; } public String getMsg() { return msg; } }