public class ServiceException extends RuntimeException
| 构造器和说明 |
|---|
ServiceException(int code,
String msg)
业务异常
|
ServiceException(Retable ret)
业务异常
|
ServiceException(String msg)
业务异常
|
ServiceException(String template,
Object... values)
业务异常
|
public ServiceException(String msg)
msg - 错误信息public ServiceException(String template, Object... values)
template - 错误信息模板, 实际调用了 String.formatvalues - 字符串参数public ServiceException(Retable ret)
ret - Retable 子类public ServiceException(int code,
String msg)
code - 错误码msg - 错误信息Copyright © 2021. All rights reserved.