Class: TArchivedObjectNotFound

Declaration: ArchiveExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TArchiveException

Inherited By:

None.

Purpose:

Objects of this class are thrown when an requested object can not be found in an archive. There are currently three reasons why an object might not be found: the object's key might not be found in the archive, the object's key might be found but the corresponding value might not be found or the object stored in the archive might not be of the expected type.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

This class is designed to be used directly. Do not derive.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TArchivedObjectNotFound::TArchivedObjectNotFound

  1. TArchivedObjectNotFound (EReason reason)
  2. TArchivedObjectNotFound (const TArchivedObjectNotFound & copy)
  3. TArchivedObjectNotFound ()

Interface Category:

API.

Purpose:

  1. Create a TArchivedObjectNotFound object with the given reason.
  2. Copy constructor.
  3. Default constructor. Creates an uninitialized object.

Calling Context:

  1. Called by clients.
  2. Called to copy an object.
  3. Called by the stream-in operators.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TArchivedObjectNotFound::~TArchivedObjectNotFound

virtual ~ TArchivedObjectNotFound ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TArchivedObjectNotFound::operator=

TArchivedObjectNotFound & operator =(const TArchivedObjectNotFound & copy)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A non-const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TArchivedObjectNotFound::GetReason

EReason GetReason () const

Interface Category:

API.

Purpose:

Return the reason this exception was thrown.

Calling Context:

Called by clients.

Parameters:

Return Value:

The reason the exception was thrown.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TArchivedObjectNotFound::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Polymorphic throw operation.

Calling Context:

Called by clients.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.