net.sf.xenqtt
Class MqttInvocationError
java.lang.Object
java.lang.Throwable
java.lang.Error
net.sf.xenqtt.MqttInvocationError
- All Implemented Interfaces:
- Serializable
public final class MqttInvocationError
- extends Error
Thrown when an Error
occurs during the processing of a command.
- See Also:
- Serialized Form
MqttInvocationError
public MqttInvocationError(String message,
Error rootCause)
- Create a new instance of this class.
- Parameters:
message
- A textual message describing the situation leading to the throwing of this error
rootCause
- The actual error
that was thrown
getRootCause
public Error getRootCause()
- Returns:
- The error that occurred while the command was executing. This is not the
Throwable.getCause()
of this error 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 error
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)
Copyright © 2013. All Rights Reserved.