cn.afterturn.easypoi.exception.excel.enums.ExcelExportEnum Maven / Gradle / Ivy
/**
* 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 ExcelExportEnum {
PARAMETER_ERROR ("Excel 导出 参数错误") ,
EXPORT_ERROR ("Excel导出错误") ,
HTML_ERROR ("Excel导出Html流错误") ,
TEMPLATE_ERROR ("Excel 模板错误");
private String msg;
ExcelExportEnum(String msg) {
this.msg = msg;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
}