Class: TCcrmException

Declaration: CcrmException.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TStandardException

Inherited By:

TStandardCcrmFileError TCcrmLogFileError TCcrmLogLSNError TCcrmMemoryError TCcrmTransactionConnectError TInvalidTransaction TLockManDeadLock TLockManInternalError TLockManLockLimitError TLockNotAvailable TTransactionInternalError TRecoveryInternalError TRecoveryUnknownObjectError TTransactionDoesNotExist

Purpose:

Indicates that CCRM services have been terminated or are otherwise unavailable and passes control to somebody that can deal with the situation.

Instantiation:

Always allocate on the heap.

Deriving Classes:

You can derive from this class to implement new exceptions. It should only be done when any of the CCRM Classes have been overridden.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TCcrmException::~TCcrmException

virtual ~ TCcrmException ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TCcrmException::TCcrmException

  1. TCcrmException (long ExceptionType =0)
  2. TCcrmException (const TCcrmException & file)

Interface Category:

API.

Purpose:

  1. Constructor.
  2. Copy constructor.

Calling Context:

  1. When an exception is detected and can be handled.
  2. Called to copy an object.
  3. Called indirect by other CCRM Exceptions.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TCcrmException::operator=

TCcrmException & operator =(const TCcrmException & 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.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.