package com.baizhi.nwvisitor.common.exception;import com.baizhi.admincommon.common.execption.AppExecptionMessage;public enum VisitorCommonError implements AppExecptionMessage { //E_10041("10041", "500", "出现异常信息"), //E_10042("10042", "500", "出现异常信息"), E_10041("10041", "500", "出现异常信息"), E_10042("10042", "500", "出现异常信息"), E_10051("10051", "500", "出现异常信息"), E_10052("10052", "500", "出现异常信息"), ... String httpStatus = ""; String errorCode = ""; String errorMessage = ""; public String getHttpStatus() { return httpStatus; } public String getErrorCode() { return errorCode; } public String getErrorMessage() { return errorMessage; } private VisitorCommonError(String errorCode, String httpStatus, String errorMessage) { this.httpStatus = httpStatus; this.errorCode = errorCode; this.errorMessage = errorMessage; }}