Class UndecidedOmemoIdentityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jivesoftware.smackx.omemo.exceptions.UndecidedOmemoIdentityException
-
- All Implemented Interfaces:
java.io.Serializable
public class UndecidedOmemoIdentityException extends java.lang.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(java.util.Collection<OmemoDevice> devices)
UndecidedOmemoIdentityException(OmemoDevice contact)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.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.
-
-
-
Constructor Detail
-
UndecidedOmemoIdentityException
public UndecidedOmemoIdentityException(OmemoDevice contact)
-
UndecidedOmemoIdentityException
public UndecidedOmemoIdentityException(java.util.Collection<OmemoDevice> devices)
-
-
Method Detail
-
getUndecidedDevices
public java.util.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
-
-