net.sf.xenqtt
Class MqttTooManyMessagesInFlightException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.xenqtt.MqttException
                  extended by net.sf.xenqtt.MqttTooManyMessagesInFlightException
All Implemented Interfaces:
Serializable

public class MqttTooManyMessagesInFlightException
extends MqttException

Thrown when an AsyncMqttClient tries to send a message when MqttClientConfig.getMaxInFlightMessages() messages are already in-flight.

See Also:
Serialized Form

Constructor Summary
MqttTooManyMessagesInFlightException()
          Constructs a new mqtt exception with null as its detail message.
MqttTooManyMessagesInFlightException(String message)
          Constructs a new mqtt exception with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MqttTooManyMessagesInFlightException

public MqttTooManyMessagesInFlightException()
Constructs a new mqtt exception with null as its detail message.


MqttTooManyMessagesInFlightException

public MqttTooManyMessagesInFlightException(String message)
Constructs a new mqtt exception with the specified detail message.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.


Copyright © 2013. All Rights Reserved.