程序包 com.baidubce

类 BceClientException

  • 所有已实现的接口:
    Serializable
    直接已知子类:
    BceServiceException

    public class BceClientException
    extends RuntimeException
    Base exception class for any errors that occur on the client side when attempting to access a BCE service API.

    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, 序列化表格
    • 构造器详细资料

      • BceClientException

        public BceClientException​(String message)
        Constructs a new BceClientException with the specified detail message.
        参数:
        message - the detail error message.
      • BceClientException

        public BceClientException​(String message,
                                  Throwable cause)
        Constructs a new BceClientException with the specified detail message and the underlying cause.
        参数:
        message - the detail error message.
        cause - the underlying cause of this exception.