public class Admin4jException extends RuntimeException implements IResponse
| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
args
异常消息参数
|
private int |
code |
private String |
msg |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
Admin4jException(int code,
String msg) |
Admin4jException(IResponse response) |
Admin4jException(IResponse response,
Object[] args,
String message) |
Admin4jException(IResponse response,
Object[] args,
String message,
Throwable cause) |
Admin4jException(IResponse response,
String message) |
Admin4jException(String message) |
Admin4jException(String message,
Throwable throwable) |
Admin4jException(Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMsg()
返回消息
|
protected void |
setResponse(IResponse response) |
void |
throwException()
抛出异常
|
static void |
throwException(Throwable exception) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate static final long serialVersionUID
protected Object[] args
private int code
private String msg
public Admin4jException(Throwable throwable)
public Admin4jException(IResponse response)
public Admin4jException(int code,
String msg)
public Admin4jException(String message)
Copyright © 2023. All rights reserved.