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.
- TArchivedObjectNotFound (EReason reason)
- TArchivedObjectNotFound (const TArchivedObjectNotFound & copy)
- TArchivedObjectNotFound ()
Interface Category:
API.
Purpose:
- Create a TArchivedObjectNotFound object with the given reason.
- Copy constructor.
- Default constructor. Creates an uninitialized object.
Calling Context:
- Called by clients.
- Called to copy an object.
- Called by the stream-in operators.
Parameters:
- EReason reason -The reason this exception was thrown.
- const TArchivedObjectNotFound & copy -The object to be copied.
- Takes no parameters.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
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.
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.
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.
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.