IInvalidContextNumber

This is an exception class thrown by the streaming framework.

This exception signals that an object alias read from an IDataStream refers to non-existent data. This is an internal consistency check; a failure generally indicates that the stream data has been corrupted, or that some other serious progamming error has occured.


IInvalidContextNumber - Member Functions and Data by Group

Constructors & Destructor

Use the destructor to destroy instances of IInvalidContextNumber. Instances are only constructed by the streaming implementation code, never by application code.


[view class]
~IInvalidContextNumber
public:
virtual ~IInvalidContextNumber()

Destroys the exception object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IInvalidContextNumber

Constructors for the class.


Overload 1
public:
IInvalidContextNumber( const char* text = 0, long errorID = 0, Severity severity = recoverable )
This constructor is used by the streaming implementation when the error condition is detected. It would not normally be used by application code.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
public:
IInvalidContextNumber(const IInvalidContextNumber& other)

The copy constructor is provided so that the compiler can make copies of the object during the throwing of an exception.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Exception Type

Use these members to determine the name (type) of the exception. This is used for logging out an exception object's error information.


[view class]
name
public:
virtual const char* name() const

Gets the name of the exception class. This function is used to access class data.

name
A pointer to a null-terminated string containing the class name.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IInvalidContextNumber - Inherited Member Functions and Data

Inherited Public Functions

IException

Inherited Public Data

IException

Inherited Protected Functions

Inherited Protected Data