public class ObsException extends RuntimeException
| 构造器和说明 |
|---|
ObsException(String message) |
ObsException(String message,
String xmlMessage) |
ObsException(String message,
String xmlMessage,
Throwable cause) |
ObsException(String message,
Throwable e) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getErrorCode()
Obtain the error code returned by the OBS server.
|
String |
getErrorHostId()
Obtain the server ID.
|
String |
getErrorIndicator()
Obtain the detailed error indicators returned by the OBS server.
|
String |
getErrorMessage()
Obtain the error details returned by the OBS server.
|
String |
getErrorRequestId()
Obtain the request ID returned by the OBS server.
|
int |
getResponseCode()
Obtain the HTTP status code returned by the OBS server.
|
Map<String,String> |
getResponseHeaders()
Obtain the response headers of the HTTP request returned by the OBS
server.
|
String |
getResponseStatus()
Obtain the HTTP response description returned by the OBS server.
|
String |
getXmlMessage() |
void |
setErrorCode(String errorCode) |
void |
setErrorHostId(String errorHostId) |
void |
setErrorIndicator(String errorIndicator) |
void |
setErrorMessage(String errorMessage) |
void |
setErrorRequestId(String errorRequestId) |
void |
setResponseCode(int responseCode) |
void |
setResponseHeaders(Map<String,String> responseHeaders) |
void |
setResponseStatus(String responseStatus) |
void |
setXmlMessage(String xmlMessage) |
String |
toString() |
public ObsException(String message)
public String getXmlMessage()
public void setXmlMessage(String xmlMessage)
public String getErrorCode()
public void setErrorCode(String errorCode)
public String getErrorMessage()
public void setErrorMessage(String errorMessage)
public String getErrorRequestId()
public void setErrorRequestId(String errorRequestId)
public String getErrorHostId()
public void setErrorHostId(String errorHostId)
public Map<String,String> getResponseHeaders()
public int getResponseCode()
public void setResponseCode(int responseCode)
public String getResponseStatus()
public void setResponseStatus(String responseStatus)
public String getErrorIndicator()
public void setErrorIndicator(String errorIndicator)
Copyright © 2021. All rights reserved.