Class: TRecordManagerStoreAlreadyExistsException

Declaration: DiskDictionaryErrors.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TPersistentStoreAlreadyExistsException

Inherited By:

None.

Purpose:

A concrete class for RecordManager exceptions dealing with files that already exist.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TRecordManagerStoreAlreadyExistsException::TRecordManagerStoreAlreadyExistsException

  1. TRecordManagerStoreAlreadyExistsException (unsigned long whatHappened)
  2. TRecordManagerStoreAlreadyExistsException (const TRecordManagerStoreAlreadyExistsException & copy)

Interface Category:

API.

Purpose:

  1. Called to create an object.
  2. Copy constructor.

Calling Context:

  1. Called to create an object.
  2. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRecordManagerStoreAlreadyExistsException::operator=

TRecordManagerStoreAlreadyExistsException & operator =(const TRecordManagerStoreAlreadyExistsException & 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: TRecordManagerStoreAlreadyExistsException::~TRecordManagerStoreAlreadyExistsException

virtual ~ TRecordManagerStoreAlreadyExistsException ()

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: TRecordManagerStoreAlreadyExistsException::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Throws this exception.

Calling Context:

Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws TRecordManagerStoreAlreadyExistsException unconditionally.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRecordManagerStoreAlreadyExistsException::GetReason

unsigned long GetReason () const

Interface Category:

API.

Purpose:

Gets the reason for the exception.

Calling Context:

Called after catching this exception.

Parameters:

Return Value:

Returns the error code.

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.