### IAddressAlreadyInContext

  IAddressAlreadyInContext is an exception class thrown by the Streaming subsystem.

  This exception may be thrown while reading from or writing C++ objects to an IDataStream. It indicates that there is an internal inconsistency with the datastream having to do with the handling of aliased objects, and could be caused by corruption of the stream data, or by programming errors in the application or by defects in the streaming system.

### IAddressAlreadyInContext - Member Functions and Data by Group

### Constructors & Destructor

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

~IAddressAlreadyInContext

      public:
      virtual ~IAddressAlreadyInContext()

  Destroys the exception object

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

IAddressAlreadyInContext

  Constructors for the class.

  Overload 1

      public:
      IAddressAlreadyInContext( const IAddressAlreadyInContext& 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

  Overload 2

      public:
      IAddressAlreadyInContext( 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

### 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.

name

      public:
      virtual const char* name() const

  Gets the name of the class. Intended to be used by general exception handling code that does not have prior knowledge of the actual derived class type.

  This function returns the name of the class, IAddressAlreadyInContext.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### IAddressAlreadyInContext - Inherited Member Functions and Data

#### Inherited Public Functions

  IException

  -     virtual ~IException()

  -     virtual IException&
          addLocation( const IExceptionLocation& location )

  -     IException& appendText(const char* errorText)

  -     static void
          assertParameter( const char* exceptionText,
                           IExceptionLocation location )

  -     ErrorCodeGroup errorCodeGroup() const

  -     unsigned long errorId() const

  -     IException(const IException& exception)

  -     IException( const char* errorText,
                    unsigned long errorId = 0,
                    Severity severity = IException::unrecoverable )

  -     virtual int isRecoverable() const

  -     const IExceptionLocation*
          locationAtIndex( unsigned long locationIndex ) const

  -     unsigned long locationCount() const

  -     virtual IException& logExceptionData()

  -     IException& setErrorCodeGroup(ErrorCodeGroup errorGroup)

  -     IException& setErrorId(unsigned long errorId)

  -     IException& setSeverity(Severity severity)

  -     IException& setText(const char* errorText)

  -     static IException::TraceFn*
          setTraceFunction( IException::TraceFn& traceFunction )

  -     virtual void terminate()

  -     const char* text(unsigned long indexFromTop = 0) const

  -     unsigned long textCount() const

#### Inherited Public Data

  IException

  -     static ErrorCodeGroup const baseLibrary

  -     static ErrorCodeGroup const CLibrary

  -     static ErrorCodeGroup const operatingSystem

  -     static ErrorCodeGroup const other

  -     static ErrorCodeGroup const presentationSystem

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None