public class LogException
extends java.lang.Exception
构造器和说明 |
---|
LogException(java.lang.String code,
java.lang.String message,
java.lang.String requestId)
Construct LogException
|
LogException(java.lang.String code,
java.lang.String message,
java.lang.Throwable cause,
java.lang.String requestId)
Construct LogException
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
GetErrorCode()
Get the error code
|
java.lang.String |
GetErrorMessage()
Get the error message
|
java.lang.String |
GetRequestId()
Get the request id
|
public LogException(java.lang.String code, java.lang.String message, java.lang.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 LogException(java.lang.String code, java.lang.String message, java.lang.Throwable cause, java.lang.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 java.lang.String GetErrorCode()
public java.lang.String GetErrorMessage()
public java.lang.String GetRequestId()