public class CosXmlClientException extends QCloudClientException
客户端异常
是由于客户端无法和 COS 服务端正常进行交互所引起。如客户端无法连接到服务端,无法解析服务端返回的数据,读取本地文件发生 IO 异常等.
客户端异常
构造器和说明 |
---|
CosXmlClientException(ClientErrorCode errorCode) |
CosXmlClientException(int errorCode,
java.lang.String message) |
CosXmlClientException(int errorCode,
java.lang.String message,
java.lang.Throwable cause) |
CosXmlClientException(int errorCode,
java.lang.Throwable cause) |
限定符和类型 | 方法和说明 |
---|---|
static CosXmlClientException |
internalException(java.lang.String message) |
static CosXmlClientException |
manualCancelException() |
java.lang.String |
toString()
Returns a short description of this throwable.
|
isRetryable
public final int errorCode
public CosXmlClientException(ClientErrorCode errorCode)
public CosXmlClientException(int errorCode, java.lang.String message)
public CosXmlClientException(int errorCode, java.lang.String message, java.lang.Throwable cause)
public CosXmlClientException(int errorCode, java.lang.Throwable cause)
public static CosXmlClientException manualCancelException()
public static CosXmlClientException internalException(java.lang.String message)
public java.lang.String toString()
java.lang.Throwable
Throwable.getLocalizedMessage()
method
getLocalizedMessage
returns null
, then just
the class name is returned.toString
在类中 java.lang.Throwable