package cn.basttg.core.exception; /** * 系统业务异常 * @author luocanfeng * @date 2011-6-30 10:20:46 */ public class BusinessException extends RuntimeException { /** serialVersionUID */ private static final long serialVersionUID = 2332608236621015980L; private String code; public BusinessException() { super(); } public BusinessException(String message) { super(message); } public BusinessException(String code, String message) { super(message); this.code = code; } public BusinessException(Throwable cause) { super(cause); } public BusinessException(String message, Throwable cause) { super(message, cause); } public BusinessException(String code, String message, Throwable cause) { super(message, cause); this.code = code; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } }
最近下载更多