public class TunnelException extends OdpsException
| 构造器和说明 |
|---|
TunnelException()
构造异常对象
|
TunnelException(InputStream is)
构造异常对象
|
TunnelException(String message)
构造异常对象
|
TunnelException(String message,
Throwable cause)
构造异常对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getErrorCode()
获得错误代码
|
String |
getErrorMsg()
获得错误信息
|
String |
getMessage() |
String |
getRequestId()
获得请求标识
|
void |
loadFromJson(InputStream is)
已过时。
|
void |
setErrorCode(String errorCode) |
void |
setErrorMsg(String errorMsg) |
void |
setRequestId(String requestId) |
String |
toString() |
public TunnelException()
public TunnelException(String message)
message - public TunnelException(InputStream is)
is - public String getMessage()
getMessage 在类中 Throwablepublic void setRequestId(String requestId)
public String getRequestId()
getRequestId 在类中 OdpsExceptionrequestId - public String getErrorCode()
getErrorCode 在类中 OdpsExceptionpublic String getErrorMsg()
public void setErrorCode(String errorCode)
public void setErrorMsg(String errorMsg)
@Deprecated public void loadFromJson(InputStream is) throws TunnelException, IOException
Copyright © 2015 Alibaba Cloud Computing. All rights reserved.