class OdpsDatahub::OdpsDatahubException
Attributes
mErrorCode[R]
mMessage[R]
mRequestId[R]
Public Class Methods
new(code, msg, reqId = "")
click to toggle source
# File lib/fluent/plugin/exceptions.rb, line 27 def initialize(code, msg, reqId = "") @mMessage = msg @mErrorCode = code @mRequestId = reqId end
Public Instance Methods
getCode()
click to toggle source
# File lib/fluent/plugin/exceptions.rb, line 37 def getCode @mErrorCode end
getMessage()
click to toggle source
# File lib/fluent/plugin/exceptions.rb, line 33 def getMessage @mMessage end
getRequestId()
click to toggle source
# File lib/fluent/plugin/exceptions.rb, line 41 def getRequestId @mRequestId end
to_s()
click to toggle source
# File lib/fluent/plugin/exceptions.rb, line 45 def to_s return "ErrorCode: " + @mErrorCode + ", Message: " + @mMessage + ", requestId:" + @mRequestId end