类 CosXmlServiceException

  • 所有已实现的接口:
    java.io.Serializable

    public class CosXmlServiceException
    extends com.tencent.qcloud.core.common.QCloudServiceException

    服务端异常
    是客户端和 COS 服务端交互正常,但操作 COS 资源失败。如客户端访问一个不存在 Bucket ,删除一个不存在的文件,没有权限进行某个操作等. 请参考:服务端异常

    另请参阅:
    序列化表格
    • 字段概要

      • 从类继承的字段 com.tencent.qcloud.core.common.QCloudServiceException

        ERR0R_REQUEST_IS_EXPIRED, ERR0R_REQUEST_TIME_TOO_SKEWED
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.String getHost()  
      java.lang.String getHttpMessage()  
      java.lang.String getMessage()  
      java.lang.String toString()  
      • 从类继承的方法 com.tencent.qcloud.core.common.QCloudServiceException

        getErrorCode, getErrorMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setRequestId, setServiceName, setStatusCode
      • 从类继承的方法 java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 构造器详细资料

      • CosXmlServiceException

        public CosXmlServiceException​(java.lang.String httpMsg,
                                      java.lang.String host)
      • CosXmlServiceException

        public CosXmlServiceException​(java.lang.String errorMessage,
                                      java.lang.Exception cause)
      • CosXmlServiceException

        public CosXmlServiceException​(com.tencent.qcloud.core.common.QCloudServiceException qcloudServiceException)
    • 方法详细资料

      • getHttpMessage

        public java.lang.String getHttpMessage()
      • getHost

        public java.lang.String getHost()
      • getMessage

        public java.lang.String getMessage()
        覆盖:
        getMessage 在类中 com.tencent.qcloud.core.common.QCloudServiceException
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Throwable