Class: TSystemWindowException

Declaration: SystemWindow.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TStandardException

Inherited By:

None.

Purpose:

Encapsulates the exceptions thrown by the Window system.

Instantiation:

Always allocate on the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TSystemWindowException::TSystemWindowException

  1. TSystemWindowException (EViolation error)
  2. TSystemWindowException (const TSystemWindowException & other)
  3. TSystemWindowException ()

Interface Category:

API.

Purpose:

  1. General constructor for throwing exceptions.
  2. Copy constructor.
  3. Default constructor.

Calling Context:

  1. Called when throwing an exception.
  2. Called to copy an object.
  3. Called by the stream-in operators.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TSystemWindowException::~TSystemWindowException

virtual ~ TSystemWindowException ()

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:

Multithread safe.

Other Considerations:

None.

Member Function: TSystemWindowException::operator=

TSystemWindowException & operator =(const TSystemWindowException & other)

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:

Multithread safe.

Other Considerations:

None.

Member Function: TSystemWindowException::GetReason

virtual EViolation GetReason () const

Interface Category:

API.

Purpose:

Gets the reason for the exception.

Calling Context:

Called by the thread that catches the exception to discover what went wrong.

Parameters:

Return Value:

The reason for the exception.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TSystemWindowException::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Throws an exception.

Calling Context:

Called this function directly to notify the client that an exception condition occurred. This function is also called by stream code when an exception is thrown across task boundaries.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

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.