public class CannotEstablishOmemoSessionException extends Exception
Constructor and Description |
---|
CannotEstablishOmemoSessionException(OmemoDevice failed,
Throwable reason) |
Modifier and Type | Method and Description |
---|---|
void |
addFailures(CannotEstablishOmemoSessionException otherFailures) |
void |
addSuccess(OmemoDevice success) |
HashMap<org.jxmpp.jid.BareJid,HashMap<OmemoDevice,Throwable>> |
getFailures() |
HashMap<org.jxmpp.jid.BareJid,ArrayList<OmemoDevice>> |
getSuccesses() |
boolean |
requiresThrowing()
Return true, if there is at least one recipient, which would not be able to decipher the message on any of
their devices.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CannotEstablishOmemoSessionException(OmemoDevice failed, Throwable reason)
public void addFailures(CannotEstablishOmemoSessionException otherFailures)
public void addSuccess(OmemoDevice success)
public HashMap<org.jxmpp.jid.BareJid,HashMap<OmemoDevice,Throwable>> getFailures()
public HashMap<org.jxmpp.jid.BareJid,ArrayList<OmemoDevice>> getSuccesses()
public boolean requiresThrowing()