net.sf.xenqtt
Class MqttInvocationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.xenqtt.MqttException
net.sf.xenqtt.MqttInvocationException
- All Implemented Interfaces:
- Serializable
public final class MqttInvocationException
- extends MqttException
Thrown when an Exception
occurs during the processing of a command.
- See Also:
- Serialized Form
MqttInvocationException
public MqttInvocationException(String message,
Exception rootCause)
- Create a new instance of this class.
- Parameters:
message
- A textual message describing the situation that led to the throwing of this exception
rootCause
- The exception
that was originally thrown
getRootCause
public Exception getRootCause()
- Returns:
- The exception that occurred while the command was executing. This is not the
Throwable.getCause()
of this exception because it happened on a
different thread. The stack trace for the root cause
shows where the problem lies. The stack trace for this
invocation exception
shows where the command was called from.
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace
in class Throwable
- See Also:
Throwable.printStackTrace(java.io.PrintStream)
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
- See Also:
Throwable.getMessage()
Copyright © 2013. All Rights Reserved.