public final class FlowException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
private Integer |
code
错误码
|
private String |
detailMessage
错误明细,内部调试错误
|
private String |
message
错误提示
|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
FlowException()
空构造方法,避免反序列化问题
|
FlowException(String message) |
FlowException(String message,
Integer code) |
FlowException(String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCode() |
String |
getDetailMessage() |
String |
getMessage() |
FlowException |
setDetailMessage(String detailMessage) |
FlowException |
setMessage(String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate static final long serialVersionUID
private String detailMessage
public FlowException()
public FlowException(String message)
public FlowException(String message, Throwable cause)
public FlowException(String message, Integer code)
public String getDetailMessage()
public FlowException setDetailMessage(String detailMessage)
public String getMessage()
getMessage in class Throwablepublic FlowException setMessage(String message)
Copyright © 2024. All rights reserved.