Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

UnsupportedInterface Class Reference

Exception to indicate that a node interface is not supported. More...

List of all members.


Public Methods

 UnsupportedInterface (const std::string &message)
 Constructor.

 UnsupportedInterface (const NodeType &nodeType, const std::string &interfaceId)
 Constructor.

 UnsupportedInterface (const NodeType &nodeType, NodeInterface::Type interfaceType, const std::string &interfaceId)
 Constructor.

virtual ~UnsupportedInterface () throw ()
 Destructor.


Detailed Description

Exception to indicate that a node interface is not supported.

This exception is thrown by Node::setField and Node::processEvent to indicate that the node doesn't support the interface through which the caller is trying to modify the node. It is also thrown by NodeClass::createType if the class object doesn't support an interface specified in the NodeInterfaceSet given to that method.


Constructor & Destructor Documentation

UnsupportedInterface const std::string &    message [explicit]
 

Constructor.

Parameters:
message An informative error message.

UnsupportedInterface const NodeType   nodeType,
const std::string &    interfaceId
 

Constructor.

Parameters:
nodeType the node type.
interfaceId the name of the interface that is not available.

UnsupportedInterface const NodeType   nodeType,
NodeInterface::Type    interfaceType,
const std::string &    interfaceId
 

Constructor.

Parameters:
nodeType the node type.
interfaceType the type of the interface that is not available.
interfaceId the name of the interface that is not available.

~UnsupportedInterface   throw () [virtual]
 

Destructor.