public class NoSuchNodeException extends DatastructureException
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
NoSuchNodeException(IGraph<?,?,?> g,
java.lang.String nodeId)
Constructor creates a new NoSuchNodeException with given message.
|
NoSuchNodeException(IGraph<?,?,?> g,
java.lang.String nodeId,
java.lang.Throwable cause)
Constructor creates a new NoSuchNodeException with a given cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNodeId()
Returns the id of the node which causes this exception.
|
public static final long serialVersionUID
public NoSuchNodeException(IGraph<?,?,?> g, java.lang.String nodeId)
g - The graph where the node does not exist.nodeId - Name of the non existing node.public NoSuchNodeException(IGraph<?,?,?> g, java.lang.String nodeId, java.lang.Throwable cause)
g - The graph where the node does not exist.nodeId - Name of the non existing node.cause - The cause for this exception as Throwable.