Class: TMonitorException

Declaration: KernelExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

Defines monitor-related exceptions.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TMonitorException::TMonitorException

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

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

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

virtual ~ TMonitorException ()

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: TMonitorException::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: TMonitorException::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.