public class ClientException extends MaxStorageException
This exception is thrown when there are issues with the client-side operations, such as network errors, invalid parameters, or other client-related problems.
| Constructor and Description |
|---|
ClientException(Exception exception)
Constructs a new ClientException with the specified cause.
|
ClientException(String errorMessage)
Constructs a new ClientException with the specified error message.
|
ClientException(String errorMessage,
Throwable exception)
Constructs a new ClientException with the specified error message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ClientException(String errorMessage)
errorMessage - the error messagepublic ClientException(Exception exception)
exception - the cause of this exceptionCopyright © 2026 Alibaba Cloud Computing. All rights reserved.