tuwien.auto.calimero.mgmt
Class KNXDisconnectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by tuwien.auto.calimero.exception.KNXException
              extended by tuwien.auto.calimero.mgmt.KNXDisconnectException
All Implemented Interfaces:
java.io.Serializable

public class KNXDisconnectException
extends KNXException

Thrown to indicate that a layer 4 disconnect event happened.

See Also:
Serialized Form

Constructor Summary
KNXDisconnectException()
          Constructs a KNXDisconnectException without a detail message.
KNXDisconnectException(java.lang.String s)
          Constructs a KNXDisconnectException with the specified detail message.
KNXDisconnectException(java.lang.String s, Destination d)
          Constructs a KNXDisconnectException with the specified detail message and the affected destination object.
 
Method Summary
 Destination getDestination()
          Returns the destination which caused this exception.
 
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

KNXDisconnectException

public KNXDisconnectException()
Constructs a KNXDisconnectException without a detail message.


KNXDisconnectException

public KNXDisconnectException(java.lang.String s)
Constructs a KNXDisconnectException with the specified detail message.

Parameters:
s - the detail message

KNXDisconnectException

public KNXDisconnectException(java.lang.String s,
                              Destination d)
Constructs a KNXDisconnectException with the specified detail message and the affected destination object.

Parameters:
s - the detail message
d - destination causing this exception by its disconnected state
Method Detail

getDestination

public final Destination getDestination()
Returns the destination which caused this exception.

Returns:
the Destination, or null if not supplied