-
- All Implemented Interfaces:
-
java.io.Serializable
public class MessagingError extends Throwable
Messaging-related errors that can happen and be returned in a MessagingResult.Failure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
MessagingError.InvalidChannelKey
Messaging.initialize or MessagingFactory.create was called but an invalid channel key was provided.
public class
MessagingError.NoResultReceived
If a MessagingResult was expected out of this call, none was received.
public class
MessagingError.NotInitialized
Messaging.instance was called before Messaging.initialize completed successfully.
public class
MessagingError.SdkNotEnabled
Messaging.initialize or MessagingFactory.create was called but the SDK is not enabled for the provided subdomain URL and channel identifier.
public class
MessagingError.AccountNotFound
Messaging.initialize or MessagingFactory.create was called but no account was found for the provided subdomain URL and channel identifier.
public class
MessagingError.MissingConfiguration
Messaging.initialize or MessagingFactory.create was called but no configuration was received from the server.
public final class
MessagingError.FailedToInitialize
Messaging.initialize or MessagingFactory.create was called but it failed to initialize with all of its dependencies.
public class
MessagingError.ConversationNotFound
Messaging was unable to find the conversation to display.
-
Method Summary
Modifier and Type Method Description String
getMessage()
Throwable
getCause()
-
Methods inherited from class zendesk.messaging.android.MessagingError
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getMessage
String getMessage()
-
-
-
-