public class DefipayApiException extends RuntimeException
| 构造器和说明 |
|---|
DefipayApiException()
Instantiates a new Defipay api exception.
|
DefipayApiException(DefipayApiError error)
Instantiates a new Defipay api exception.
|
DefipayApiException(String message)
Instantiates a new Defipay api exception.
|
DefipayApiException(String message,
Throwable cause)
Instantiates a new Defipay api exception.
|
DefipayApiException(Throwable cause)
Instantiates a new Defipay api exception.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DefipayApiError |
getError() |
String |
getMessage() |
public DefipayApiException(DefipayApiError error)
error - an error response objectpublic DefipayApiException()
public DefipayApiException(String message)
message - the messagepublic DefipayApiException(Throwable cause)
cause - the causepublic DefipayApiError getError()
public String getMessage()
getMessage 在类中 ThrowableCopyright © 2022. All rights reserved.