net.sf.xenqtt
Class MqttInterruptedException

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.MqttInterruptedException
All Implemented Interfaces:
Serializable

public class MqttInterruptedException
extends MqttException

This is a wrapper for InterruptedException. InterruptedException is checked and we don't want to throw checked exceptions from the public API.

See Also:
Serialized Form

Constructor Summary
MqttInterruptedException(InterruptedException cause)
          Create a new instance of this class.
 
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

MqttInterruptedException

public MqttInterruptedException(InterruptedException cause)
Create a new instance of this class.

Parameters:
cause - The InterruptedException that was originally thrown


Copyright © 2013. All Rights Reserved.