Class: TArchiveAlreadyExists

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 attempt is made to create a new archive by the same name as one that already exists.

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: TArchiveAlreadyExists::TArchiveAlreadyExists

  1. TArchiveAlreadyExists ()
  2. TArchiveAlreadyExists (const TArchiveAlreadyExists & copy)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.

Calling Context:

  1. Called by the stream-in operators and clients.
  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: TArchiveAlreadyExists::~TArchiveAlreadyExists

virtual ~ TArchiveAlreadyExists ()

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: TArchiveAlreadyExists::operator=

TArchiveAlreadyExists & operator =(const TArchiveAlreadyExists & 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: TArchiveAlreadyExists::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: TArchiveAlreadyExists::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.