程序包 com.baidubce
类 BceErrorResponse
- java.lang.Object
-
- com.baidubce.BceErrorResponse
-
public class BceErrorResponse extends Object
-
-
构造器概要
构造器 构造器 说明 BceErrorResponse()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetCode()Returns the BCE error code which represents the error type.StringgetMessage()Returns the detail error message.StringgetRequestId()voidsetCode(String code)Sets the BCE error code which represents the error type.voidsetMessage(String message)Sets the detail error message.voidsetRequestId(String requestId)
-
-
-
方法详细资料
-
getRequestId
public String getRequestId()
-
setRequestId
public void setRequestId(String requestId)
-
getCode
public String getCode()
Returns the BCE error code which represents the error type.- 返回:
- the BCE error code which represents the error type.
-
setCode
public void setCode(String code)
Sets the BCE error code which represents the error type.- 参数:
code- the BCE error code which represents the error type.
-
getMessage
public String getMessage()
Returns the detail error message.- 返回:
- the detail error message.
-
setMessage
public void setMessage(String message)
Sets the detail error message.- 参数:
message- the detail error message.
-
-