
com.github.yt.commons.exception.BaseException Maven / Gradle / Ivy
package com.github.yt.commons.exception;
/**
* 字定义异常接口
*
* @author liujiasheng
*/
public interface BaseException {
/**
* 获取异常码.
*
* @return Object
*/
Object getErrorCode();
/**
* 获取异常参数
*
* @return 参数
*/
Object[] getErrorParams();
/**
* 获取异常结果集.
*
* @return Object
*/
Object getErrorResult();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy