public class NotExceptException extends RuntimeException
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CLIENT_START_ERROR |
private int |
code |
String |
exception |
String |
path |
private static long |
serialVersionUID |
Date |
timestamp |
| 构造器和说明 |
|---|
NotExceptException() |
NotExceptException(int code,
String message) |
NotExceptException(int code,
String message,
Date timestamp,
String exception,
String path) |
NotExceptException(int code,
String message,
Throwable e) |
NotExceptException(Result result) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getApiURI()
请求错误URI
|
int |
getCode()
获得错误代码
|
String |
getErrorType()
获取错误类型
|
String |
getMessage() |
Date |
getTimestamp()
获得异常时间
|
public static final int CLIENT_START_ERROR
private static final long serialVersionUID
private int code
public Date timestamp
public String exception
public String path
public NotExceptException()
public NotExceptException(Result result)
public NotExceptException(int code,
String message)
public NotExceptException(int code,
String message,
Date timestamp,
String exception,
String path)
Copyright © 2022. All rights reserved.