public class YopClientException extends RuntimeException
For example, there is no network connection available or the network request is timeout, or the server returns an invalid response that the client is unable to parse, etc
Error responses from services will be handled as YopServiceExceptions.
YopServiceException,
序列化表格| 构造器和说明 |
|---|
YopClientException(String message)
Constructs a new YopClientException with the specified detail message.
|
YopClientException(String message,
Throwable cause)
Constructs a new YopClientException with the specified detail message and the underlying cause.
|
public YopClientException(String message)
message - the detail error message.Copyright © 2024. All rights reserved.