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.
- TSystemWindowException (EViolation error)
- TSystemWindowException (const TSystemWindowException & other)
- TSystemWindowException ()
Interface Category:
API.
Purpose:
- General constructor for throwing exceptions.
- Copy constructor.
- Default constructor.
Calling Context:
- Called when throwing an exception.
- Called to copy an object.
- Called by the stream-in operators.
Parameters:
- EViolation error -Exception reason.
- const TSystemWindowException & other -The other exception to copy from.
- Takes no parameters.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
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.
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.
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.
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.