Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TStandardException
Inherited By:
None.
Purpose:
TViewException is used for exceptions that are thrown by the View system.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
None.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
Other Considerations:
None.
- TViewException ()
- TViewException (ECause cause)
- TViewException (const TViewException & copy)
Interface Category:
API.
Purpose:
- Default constructor.
- Constructor. This constructor creates the TViewException along with an indication of the cause of the exception.
- Copy constructor.
Calling Context:
- Called by the stream-in operators or by catch clauses.
- Called by the view system to throw an exception and specify the cause of the exception.
- Called to copy an object.
Parameters:
- Takes no parameters.
- ECause cause -An ECause enumerator value that indicates the cause of the exception.
- const TViewException & copy -A reference to the object to be copied.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual ~ TViewException ()
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.
TViewException & operator =(const TViewException & assign)
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, a TViewException object.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual ECause GetCause ()
Interface Category:
API.
Purpose:
Returns the cause of the exception. The cause is returned as one of the ECause enumerator values.
Calling Context:
Call this function directly.
Parameters:
Return Value:
Returns an ECause enumerator value that indicates the cause of the exception.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void Throw () const
Interface Category:
API.
Purpose:
Throws a View system exception.
Calling Context:
Called internally to throw this exception; that is, when this exception is streamed in.
Parameters:
Return Value:
None.
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.