package com.yeshi.fanli.exception.msg; public class MsgOrderDetailException extends Exception { /** * */ private static final long serialVersionUID = 1L; private int code; private String msg; public int getCode() { return code; } public String getMsg() { return msg; } public MsgOrderDetailException(int code, String msg) { this.code = code; this.msg = msg; } public MsgOrderDetailException() { } @Override public String getMessage() { return this.msg; } }