All Packages Class Hierarchy This Package Previous Next Index
Class vnet.VNException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----vnet.VirtualNetException
|
+----vnet.VNException
- public class VNException
- extends VirtualNetException
Class to represent general exceptions involving the NetLayout
- Version:
- 0.2, august-1997
- Author:
- LuisM Pena
- See Also:
- BuildNetLayout, NetLayout, NetNode, NodeId
-
VNException()
- This constructor is used when the exception is produced by a NodeId null or with
length=0;
-
VNException(boolean, String, boolean)
- This constructor is used when to manage the creation of a node/link
that already exists, or the removing of a node/link not allowing to the net.
-
VNException(char)
- This constructor is used when the exception is produced by a NodeId not valid
-
VNException(String)
- General constructor
-
toString()
-
VNException
public VNException(boolean bApplyToNode,
String Id,
boolean bItExists)
- This constructor is used when to manage the creation of a node/link
that already exists, or the removing of a node/link not allowing to the net.
- Parameters:
- bApplyToNode - true ifthe exception applies to a node
VNException
public VNException()
- This constructor is used when the exception is produced by a NodeId null or with
length=0;
VNException
public VNException(char Id)
- This constructor is used when the exception is produced by a NodeId not valid
- Parameters:
- Id - the char invalid in the string representing the Node
VNException
public VNException(String input)
- General constructor
- Parameters:
- input - the exception message
toString
public String toString()
- Overrides:
- toString in class Throwable
All Packages Class Hierarchy This Package Previous Next Index