public class CosClientException extends RuntimeException
CosServiceException
,
序列化表格构造器和说明 |
---|
CosClientException(String message)
Creates a new CosClientException with the specified message.
|
CosClientException(String message,
String errorCode,
Throwable t) |
CosClientException(String message,
Throwable t)
Creates a new CosClientException with the specified message, and root
cause.
|
CosClientException(Throwable t) |
限定符和类型 | 方法和说明 |
---|---|
String |
getErrorCode() |
boolean |
isRetryable()
Returns a hint as to whether it makes sense to retry upon this exception.
|
void |
setErrorCode(String errorCode) |
public CosClientException(String message, Throwable t)
message
- An error message describing why this exception was thrown.t
- The underlying cause of this exception.public CosClientException(String message)
message
- An error message describing why this exception was thrown.public CosClientException(Throwable t)
Copyright © 2022. All rights reserved.