public class MessageTransport.RequestException extends Exception
Constructor and Description |
---|
RequestException(RemoteMessageProto.Message.Failure failureMessage)
Create a new instance with the given failure message.
|
Modifier and Type | Method and Description |
---|---|
RemoteMessageProto.Message.Failure |
getFailureMessage()
Gets the failure message returned by the server.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
public RequestException(RemoteMessageProto.Message.Failure failureMessage)
RemoteMessageProto.Message.Failure.getMessage()
.failureMessage
- The failure message returned by the serverpublic RemoteMessageProto.Message.Failure getFailureMessage()
Copyright © 2018. All rights reserved.