public class BceClientException 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 BceServiceExceptions.
BceServiceException,
Serialized Form| Constructor and Description |
|---|
BceClientException(String message)
Constructs a new BceClientException with the specified detail message.
|
BceClientException(String message,
Throwable cause)
Constructs a new BceClientException with the specified detail message and the underlying cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BceClientException(String message)
message - the detail error message.Copyright © 2024. All rights reserved.