Class: TCancelWaitException

Declaration: KernelExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

Defines an exception for CancleWaitPostExceptions.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TCancelWaitException::TCancelWaitException

  1. TCancelWaitException (EReason whatHappened, NATIVE_ERROR_TYPE NativeErrorCode =0)
  2. TCancelWaitException (const TCancelWaitException & copy)
  3. TCancelWaitException ()

Interface Category:

API.

Purpose:

  1. Constructs an object from EReason and error data.
  2. Copy constructor.
  3. Default constructor.

Calling Context:

  1. Called to construct an object from EReason and error data.
  2. Called to copy an object.
  3. Called by the stream-in operators and derived classes.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TCancelWaitException::operator=

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

virtual ~ TCancelWaitException ()

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: TCancelWaitException::GetReason

EReason GetReason () const

Interface Category:

API.

Purpose:

Gets the reason for the exception.

Calling Context:

Called to get the reason for the exception.

Parameters:

Return Value:

Returns EReason for the exception.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TCancelWaitException::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Throws the exception.

Calling Context:

Called by the client code to throw the exception.

Parameters:

Return Value:

None.

Exceptions:

Throws the exception requested.

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.