Package org.signal.libsignal.metadata
Class ProtocolException
-
- All Implemented Interfaces:
-
java.io.Serializable
public abstract class ProtocolException extends Exception
-
-
Field Summary
Fields Modifier and Type Field Description public final Stringsenderpublic final intsenderDevicepublic Throwablecausepublic Array<StackTraceElement>stackTrace
-
Constructor Summary
Constructors Constructor Description ProtocolException(Exception e, String sender, int senderDevice)
-
Method Summary
Modifier and Type Method Description StringgetSender()intgetSenderDevice()Optional<UnidentifiedSenderMessageContent>getUnidentifiedSenderMessageContent()ServiceId.AcigetSenderAci()Returns an Aci if the sender is a valid UUID, nullotherwise.intgetContentHint()Optional<Array<byte>>getGroupId()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSenderDevice
int getSenderDevice()
-
getUnidentifiedSenderMessageContent
Optional<UnidentifiedSenderMessageContent> getUnidentifiedSenderMessageContent()
-
getSenderAci
ServiceId.Aci getSenderAci()
Returns an Aci if the sender is a valid UUID,
nullotherwise.
-
getContentHint
int getContentHint()
-
getGroupId
Optional<Array<byte>> getGroupId()
-
-
-
-