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

Constructor Index

 o VNException()
This constructor is used when the exception is produced by a NodeId null or with length=0;
 o 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.
 o VNException(char)
This constructor is used when the exception is produced by a NodeId not valid
 o VNException(String)
General constructor

Method Index

 o toString()

Constructors

 o 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
 o VNException
 public VNException()
This constructor is used when the exception is produced by a NodeId null or with length=0;

 o 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
 o VNException
 public VNException(String input)
General constructor

Parameters:
input - the exception message

Methods

 o toString
 public String toString()
Overrides:
toString in class Throwable

All Packages  Class Hierarchy  This Package  Previous  Next  Index