类 ObsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.obs.services.exception.ObsException
- 所有已实现的接口:
Serializable
- 直接已知子类:
SelectObjectException
This exception is thrown when the interface fails to be called or access to
OBS fails.
- 另请参阅:
-
构造器概要
构造器构造器说明ObsException(String message) ObsException(String message, String xmlMessage) ObsException(String message, String xmlMessage, Throwable cause) ObsException(String message, Throwable e) -
方法概要
修饰符和类型方法说明Obtain the error code returned by the OBS server.Obtain the server ID.Obtain the detailed error indicators returned by the OBS server.Obtain the error details returned by the OBS server.Obtain the request ID returned by the OBS server.intObtain the HTTP status code returned by the OBS server.Obtain the response headers of the HTTP request returned by the OBS server.Obtain the HTTP response description returned by the OBS server.voidsetEncodedAuthorizationMessage(String encodedAuthorizationMessage) voidsetErrorCode(String errorCode) voidsetErrorHostId(String errorHostId) voidsetErrorIndicator(String errorIndicator) voidsetErrorMessage(String errorMessage) voidsetErrorRequestId(String errorRequestId) voidsetResponseCode(int responseCode) voidsetResponseHeaders(Map<String, String> responseHeaders) voidsetResponseStatus(String responseStatus) voidsetXmlMessage(String xmlMessage) toString()
-
构造器详细资料
-
ObsException
-
ObsException
-
ObsException
-
ObsException
-
-
方法详细资料
-
toString
-
getMessage
- 覆盖:
getMessage在类中Throwable
-
getXmlMessage
-
setXmlMessage
-
getErrorCode
-
setErrorCode
-
getErrorMessage
Obtain the error details returned by the OBS server.- 返回:
- Error details
-
setErrorMessage
-
getErrorRequestId
-
setErrorRequestId
-
getErrorHostId
-
setErrorHostId
-
getResponseHeaders
-
setResponseHeaders
-
getResponseCode
public int getResponseCode()Obtain the HTTP status code returned by the OBS server.- 返回:
- HTTP status code
-
setResponseCode
public void setResponseCode(int responseCode) -
getResponseStatus
Obtain the HTTP response description returned by the OBS server.- 返回:
- HTTP response description
-
setResponseStatus
-
getErrorIndicator
Obtain the detailed error indicators returned by the OBS server.- 返回:
- OBS Detailed error indicators returned by the server
-
setErrorIndicator
-
getEncodedAuthorizationMessage
-
setEncodedAuthorizationMessage
-