public class PostException extends Exception
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
code |
protected String |
msg |
static PostException |
SYSTEM_ERROR |
| 构造器和说明 |
|---|
PostException() |
PostException(String message) |
PostException(String code,
String msg,
Object... args) |
PostException(String message,
Throwable cause) |
PostException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) |
PostException(Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
PostException |
format(Object... args) |
PostException |
formatMsg(String msg,
Object... args) |
String |
getCode() |
String |
getMsg() |
PostException |
getNewInstance(String code,
String msg,
Object... args) |
void |
setCode(String code) |
void |
setMsg(String msg) |
public static final PostException SYSTEM_ERROR
protected String code
protected String msg
public PostException()
public PostException(String message)
public PostException(Throwable cause)
public PostException getNewInstance(String code, String msg, Object... args)
public PostException formatMsg(String msg, Object... args)
public String getCode()
public void setCode(String code)
public String getMsg()
public void setMsg(String msg)
public PostException format(Object... args)
Copyright © 2023. All rights reserved.