|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.eclipse.paho.client.mqttv3.MqttException org.eclipse.paho.client.mqttv3.MqttSecurityException
Thrown when a client is not authorized to perform an operation, or if there is a problem with the security configuration.
Field Summary |
---|
Constructor Summary | |
---|---|
MqttSecurityException(int reasonCode)
Constructs a new MqttSecurityException with the specified code
as the underlying reason. |
|
MqttSecurityException(java.lang.Throwable cause)
Constructs a new MqttSecurityException with the specified
Throwable as the underlying reason. |
Methods inherited from class org.eclipse.paho.client.mqttv3.MqttException |
---|
getCause, getMessage, getReasonCode, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MqttSecurityException(int reasonCode)
MqttSecurityException
with the specified code
as the underlying reason.
reasonCode
- the reason code for the exception.public MqttSecurityException(java.lang.Throwable cause)
MqttSecurityException
with the specified
Throwable
as the underlying reason.
cause
- the underlying cause of the exception.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |