Class CannotEstablishOmemoSessionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jivesoftware.smackx.omemo.exceptions.CannotEstablishOmemoSessionException
- All Implemented Interfaces:
Serializable
Exception gets thrown when we are unable to establish a session with a device for some reason.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFailures
(CannotEstablishOmemoSessionException otherFailures) void
addSuccess
(OmemoDevice success) boolean
Return true, if there is at least one recipient, which would not be able to decipher the message on any of their devices.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CannotEstablishOmemoSessionException
-
-
Method Details
-
addFailures
-
addSuccess
-
getFailures
-
getSuccesses
-
requiresThrowing
Return true, if there is at least one recipient, which would not be able to decipher the message on any of their devices.- Returns:
- true if the exception requires to be thrown
-