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