public class SlsException extends Exception
构造器和说明 |
---|
SlsException(String code,
String message,
String requestId)
Construct SlsException
|
SlsException(String code,
String message,
Throwable cause,
String requestId)
Construct SlsException
|
限定符和类型 | 方法和说明 |
---|---|
String |
GetErrorCode()
Get the error code
|
String |
GetErrorMessage()
Get the error message
|
String |
GetRequestId()
Get the request id
|
public SlsException(String code, String message, String requestId)
code
- error codemessage
- error messagerequestId
- request id from sls server, if the error is happened in the
client, the request id is emptypublic SlsException(String code, String message, Throwable cause, String requestId)
code
- error codemessage
- error messagecause
- inner exception, which cause the errorrequestId
- request id from sls server, if the error is happened in the
client, the request id is emptypublic String GetErrorCode()
public String GetErrorMessage()
public String GetRequestId()
Copyright © 2015. All Rights Reserved.