Class UndecidedOmemoIdentityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jivesoftware.smackx.omemo.exceptions.UndecidedOmemoIdentityException
-
- All Implemented Interfaces:
Serializable
public class UndecidedOmemoIdentityException extends Exception
Exception that is thrown when the user tries to encrypt a message for a undecided device.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UndecidedOmemoIdentityException(Collection<OmemoDevice> devices)
UndecidedOmemoIdentityException(OmemoDevice contact)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<OmemoDevice>
getUndecidedDevices()
Return the HashSet of undecided devices.void
join(UndecidedOmemoIdentityException other)
Add all undecided devices of another Exception to this Exceptions HashSet of undecided devices.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UndecidedOmemoIdentityException
public UndecidedOmemoIdentityException(OmemoDevice contact)
-
UndecidedOmemoIdentityException
public UndecidedOmemoIdentityException(Collection<OmemoDevice> devices)
-
-
Method Detail
-
getUndecidedDevices
public Set<OmemoDevice> getUndecidedDevices()
Return the HashSet of undecided devices.- Returns:
- undecided devices
-
join
public void join(UndecidedOmemoIdentityException other)
Add all undecided devices of another Exception to this Exceptions HashSet of undecided devices.- Parameters:
other
- other Exception
-
-