cn.afterturn.easypoi.exception.excel.enums.ExcelImportEnum Maven / Gradle / Ivy
The newest version!
/**
* Copyright 2013-2015 JueYue ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.afterturn.easypoi.exception.excel.enums;
/**
* 导出异常类型枚举
* @author JueYue
* 2014年6月19日 下午10:59:51
*/
public enum ExcelImportEnum {
PARAMETER_ERROR("参数错误"),
IS_NOT_A_VALID_TEMPLATE("不是合法的Excel模板"),
GET_VALUE_ERROR("Excel 值获取失败"),
VERIFY_ERROR("值校验失败");
private String msg;
ExcelImportEnum(String msg) {
this.msg = msg;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
}