be.ac.ulg.montefiore.run.totem.repository.model.exception
Class NoRouteToHostException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by be.ac.ulg.montefiore.run.totem.repository.model.exception.NoRouteToHostException
All Implemented Interfaces:
java.io.Serializable

public class NoRouteToHostException
extends java.lang.Exception

Thrown when a routing algorithm can't find a route to a destination.

Creation date: 25-Jan.-2005

Author:
Fabian Skivee (skivee@run.montefiore.ulg.ac.be), Jean Lepropre (lepropre@run.montefiore.ulg.ac.be)
See Also:
Serialized Form

Constructor Summary
NoRouteToHostException()
          Creates a new instance without detail message.
NoRouteToHostException(Node src, Node dst)
          Creates a new instance of the exception and specifies the nodes between which there is no route.
NoRouteToHostException(java.lang.String msg)
          Constructs an instance with the specified detail message.
NoRouteToHostException(java.lang.String msg, Node src, Node dst)
          Constructs an instance with the specified detail message and specifies the nodes between which there is no route.
 
Method Summary
 Node getDst()
           
 Node getSrc()
           
 
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

NoRouteToHostException

public NoRouteToHostException()
Creates a new instance without detail message.


NoRouteToHostException

public NoRouteToHostException(Node src,
                              Node dst)
Creates a new instance of the exception and specifies the nodes between which there is no route.


NoRouteToHostException

public NoRouteToHostException(java.lang.String msg)
Constructs an instance with the specified detail message.

Parameters:
msg - the detail message.

NoRouteToHostException

public NoRouteToHostException(java.lang.String msg,
                              Node src,
                              Node dst)
Constructs an instance with the specified detail message and specifies the nodes between which there is no route.

Method Detail

getDst

public Node getDst()
Returns:
Returns the dst.

getSrc

public Node getSrc()
Returns:
Returns the src.


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.