public class ReadOnlyDeviceException
extends java.lang.Exception
| Constructor and Description |
|---|
ReadOnlyDeviceException(OmemoDevice device)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
OmemoDevice |
getDevice()
Return the device in question.
|
public ReadOnlyDeviceException(OmemoDevice device)
OmemoConfiguration.getMaxReadOnlyMessageCount(). Therefore providing the OmemoDevice should be
enough.device - device which is considered read-only.public OmemoDevice getDevice()