public abstract class BaseException extends Exception implements IBaseException
| 构造器和说明 |
|---|
BaseException(String code,
String descriptionKey,
Object... parameters)
不应该直接实例化,应该定义子类.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCode() |
String |
getDescriptionKey() |
Object[] |
getParameters() |
void |
setCode(String code) |
void |
setDescriptionKey(String descriptionKey) |
void |
setParameters(Object[] parameters) |
public String getCode()
getCode 在接口中 IBaseExceptionpublic String getDescriptionKey()
getDescriptionKey 在接口中 IBaseExceptionpublic Object[] getParameters()
getParameters 在接口中 IBaseExceptionpublic void setCode(String code)
setCode 在接口中 IBaseExceptionpublic void setDescriptionKey(String descriptionKey)
setDescriptionKey 在接口中 IBaseExceptionpublic void setParameters(Object[] parameters)
setParameters 在接口中 IBaseExceptionCopyright © 2019. All rights reserved.