类 MyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.benma666.exception.MyException
- 所有已实现的接口:
Serializable
- 直接已知子类:
ExcelReadException,QxException
我自己的异常,项目范围内可用,可控
date: 2018年12月4日
date: 2018年12月4日
- 版本:
- 0.1
- 作者:
- jingma
- 另请参阅:
-
构造器概要
构造器构造器说明Creates a new instance of ExcelReadException.MyException(String message) Creates a new instance of ExcelReadException.MyException(String message, int code, Object data) Creates a new instance of MyException.MyException(String message, Object data) Creates a new instance of MyException.MyException(String message, Throwable cause) Creates a new instance of ExcelReadException.MyException(String message, Throwable cause, Object data) Creates a new instance of MyException. -
方法概要
-
构造器详细资料
-
MyException
public MyException()Creates a new instance of ExcelReadException. -
MyException
Creates a new instance of ExcelReadException.- 参数:
message- 异常消息
-
MyException
Creates a new instance of ExcelReadException.- 参数:
message- 异常消息cause- 原异常
-
MyException
Creates a new instance of MyException.- 参数:
message- 异常消息data- 数据
-
MyException
Creates a new instance of MyException.- 参数:
message- 异常消息cause- 原异常data- 数据
-
MyException
Creates a new instance of MyException.- 参数:
message- 异常消息code- 异常代码data- 数据
-
-
方法详细资料
-
getData
- 返回:
- data
-
setData
- 参数:
data- the data to set
-
getCode
public int getCode() -
setCode
public void setCode(int code)
-