com.aliyuncs.exceptions
类 ClientException

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 com.aliyuncs.exceptions.ClientException
所有已实现的接口:
Serializable
直接已知子类:
ServerException

public class ClientException
extends Exception

另请参见:
序列化表格

构造方法摘要
ClientException(String message)
           
ClientException(String errCode, String errMsg)
           
ClientException(String errCode, String errMsg, String requestId)
           
ClientException(Throwable cause)
           
 
方法摘要
 String getErrCode()
           
 String getErrMsg()
           
 ErrorType getErrorType()
           
 String getMessage()
           
 String getRequestId()
           
 void setErrCode(String errCode)
           
 void setErrMsg(String errMsg)
           
 void setErrorType(ErrorType errorType)
           
 void setRequestId(String requestId)
           
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

ClientException

public ClientException(String errCode,
                       String errMsg,
                       String requestId)

ClientException

public ClientException(String errCode,
                       String errMsg)

ClientException

public ClientException(String message)

ClientException

public ClientException(Throwable cause)
方法详细信息

getRequestId

public String getRequestId()

setRequestId

public void setRequestId(String requestId)

getErrCode

public String getErrCode()

setErrCode

public void setErrCode(String errCode)

getErrMsg

public String getErrMsg()

setErrMsg

public void setErrMsg(String errMsg)

getErrorType

public ErrorType getErrorType()

setErrorType

public void setErrorType(ErrorType errorType)

getMessage

public String getMessage()
覆盖:
Throwable 中的 getMessage


Copyright © 2017. All Rights Reserved.