类 ObsException

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

public class ObsException extends RuntimeException
This exception is thrown when the interface fails to be called or access to OBS fails.
另请参阅:
  • 构造器详细资料

    • ObsException

      public ObsException(String message)
    • ObsException

      public ObsException(String message, Throwable e)
    • ObsException

      public ObsException(String message, String xmlMessage)
    • ObsException

      public ObsException(String message, String xmlMessage, Throwable cause)
  • 方法详细资料

    • toString

      public String toString()
      覆盖:
      toString 在类中 Throwable
    • getMessage

      public String getMessage()
      覆盖:
      getMessage 在类中 Throwable
    • getXmlMessage

      public String getXmlMessage()
    • setXmlMessage

      public void setXmlMessage(String xmlMessage)
    • getErrorCode

      public String getErrorCode()
      Obtain the error code returned by the OBS server.
      返回:
      Error code
    • setErrorCode

      public void setErrorCode(String errorCode)
    • getErrorMessage

      public String getErrorMessage()
      Obtain the error details returned by the OBS server.
      返回:
      Error details
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • getErrorRequestId

      public String getErrorRequestId()
      Obtain the request ID returned by the OBS server.
      返回:
      Request ID
    • setErrorRequestId

      public void setErrorRequestId(String errorRequestId)
    • getErrorHostId

      public String getErrorHostId()
      Obtain the server ID.
      返回:
      Server ID
    • setErrorHostId

      public void setErrorHostId(String errorHostId)
    • getResponseHeaders

      public Map<String,String> getResponseHeaders()
      Obtain the response headers of the HTTP request returned by the OBS server.
      返回:
      HTTP response headers
    • setResponseHeaders

      public void setResponseHeaders(Map<String,String> responseHeaders)
    • getResponseCode

      public int getResponseCode()
      Obtain the HTTP status code returned by the OBS server.
      返回:
      HTTP status code
    • setResponseCode

      public void setResponseCode(int responseCode)
    • getResponseStatus

      public String getResponseStatus()
      Obtain the HTTP response description returned by the OBS server.
      返回:
      HTTP response description
    • setResponseStatus

      public void setResponseStatus(String responseStatus)
    • getErrorIndicator

      public String getErrorIndicator()
      Obtain the detailed error indicators returned by the OBS server.
      返回:
      OBS Detailed error indicators returned by the server
    • setErrorIndicator

      public void setErrorIndicator(String errorIndicator)
    • getEncodedAuthorizationMessage

      public String getEncodedAuthorizationMessage()
    • setEncodedAuthorizationMessage

      public void setEncodedAuthorizationMessage(String encodedAuthorizationMessage)