Class MessagingError


  • public class MessagingError
    extends java.lang.Object
    Represents error for messaging
    • Constructor Detail

      • MessagingError

        public MessagingError()
      • MessagingError

        public MessagingError​(MessagingError.ErrorCode failureCode,
                              java.lang.String protocolErrorReason)
      • MessagingError

        public MessagingError​(MessagingError.ErrorCode ErrorCode,
                              int protocolResponseCode,
                              java.lang.String providerErrorMessage)
    • Method Detail

      • getProtocolResponseCode

        public int getProtocolResponseCode()
        Returns:
        the error code from the underlying protocol
      • getProviderErrorMessage

        public java.lang.String getProviderErrorMessage()
        Returns:
        error reason string from the underlying provider