Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

openvrml::unsupported_interface Class Reference

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

List of all members.


Public Member Functions

 unsupported_interface (const std::string &message)
 Construct.

 unsupported_interface (const node_type &type, const std::string &interface_id)
 Construct.

 unsupported_interface (const node_type &type, node_interface::type_id interface_type, const std::string &interface_id)
 Construct.

virtual ~unsupported_interface () throw ()
 Destroy.


Detailed Description

Exception to indicate that a node interface is not supported.

This exception is thrown by node::field and node::process_event 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 node_class::create_type if the class object doesn't support an interface specified in the node_interface_set given to that method.


Constructor & Destructor Documentation

openvrml::unsupported_interface::unsupported_interface const std::string &  message  )  [explicit]
 

Construct.

Parameters:
message An informative error message.

openvrml::unsupported_interface::unsupported_interface const node_type type,
const std::string &  interface_id
 

Construct.

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

openvrml::unsupported_interface::unsupported_interface const node_type type,
node_interface::type_id  interface_type,
const std::string &  interface_id
 

Construct.

Parameters:
type the node type.
interface_type the type of the interface that is not available.
interface_id the name of the interface that is not available.