Package com.nt.udc.exceptions
Class NodeMgrAddException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
com.nt.udc.exceptions.OSAException
com.nt.udc.exceptions.NodeMgrAddException
- All Implemented Interfaces:
com.nt.common.exceptions.SMGException
,Serializable
- See Also:
-
Field Summary
Fields inherited from class com.nt.udc.exceptions.OSAException
o
Fields inherited from class java.rmi.RemoteException
detail
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.NodeMgrAddException
(String message) Exception which contains the given message.NodeMgrAddException
(String message, String name, String id) Exception which contains the given message, and sets the NM name to the given name. -
Method Summary
Modifier and TypeMethodDescriptiongetNMId()
Returns the System identifier for the Node Manager to which this Exception refers.Returns the name of the Node Manager to which this Exception refers.void
Sets the System identifier for the Node Manager to which this Exception refers.void
Sets the name of the Node Manager to which this Exception refers.Methods inherited from class com.nt.udc.exceptions.OSAException
getObject, setObject
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NodeMgrAddException
public NodeMgrAddException()Default constructor. The NM Name and ID are initialized to empty String objects. -
NodeMgrAddException
Exception which contains the given message. The NM Name and ID are initialized to empty String objects. -
NodeMgrAddException
Exception which contains the given message, and sets the NM name to the given name.- Parameters:
message
- Message that this Exception will contain.name
- User entered name of the Node Manager to which this Exception refers.id
- System Identifier for the NM to which this Exception refers. Currently, this is the IP Address and Port Number, separated by a colon (127.0.0.1:10990
).
-
-
Method Details
-
getNMName
Returns the name of the Node Manager to which this Exception refers. -
setNMName
Sets the name of the Node Manager to which this Exception refers. -
getNMId
Returns the System identifier for the Node Manager to which this Exception refers.- Returns:
- System Identifier for the NM to which this Exception refers.
Currently, this is the IP Address and Port Number, separated
by a colon (
127.0.0.1:10990
).
-
setNMId
Sets the System identifier for the Node Manager to which this Exception refers.- Parameters:
id
- System Identifier for the NM to which this Exception refers. Currently, this is the IP Address and Port Number, separated by a colon (127.0.0.1:10990
).
-