Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TPrintPrimitiveException
Inherited By:
None.
Purpose:
Used to throw a specific exception in the area of primitive regions.
Instantiation:
Always allocate on the stack.
Deriving Classes:
Clients probably do not need to derive from this class. Use TPrintPrimitiveException or TStandardException.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
Other Considerations:
None.
- TPrimitiveRegionException (EReason whatHappened)
- TPrimitiveRegionException (const TPrimitiveRegionException & copy)
- TPrimitiveRegionException ()
Interface Category:
API.
Purpose:
- Constructor for a specific reason of an exception.
- Copy constructor.
- Default constructor.
Calling Context:
- Called to throw an exception of this specific type.
- Called to copy an object.
- Called by the stream-in operators.
Parameters:
- EReason whatHappened -Parameter to specify what type of exception this is.
- const TPrimitiveRegionException & copy -Object to copy.
- Takes no parameters.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through. This is the exception.
Concurrency:
Not multithread safe.
Other Considerations:
None.
TPrimitiveRegionException & operator =(const TPrimitiveRegionException & copy)
Interface Category:
API.
Purpose:
Assignment operator.
Calling Context:
Called when an object is assigned to another compatible object.
Parameters:
Return Value:
A reference to the left-hand side object.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual ~ TPrimitiveRegionException ()
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.
EReason GetReason () const
Interface Category:
API.
Purpose:
Returns the reason identifier why this exception was thrown or created.
Calling Context:
Called to obtain the reason identifier for why this exception was thrown or created.
Parameters:
Return Value:
Returns the enum value for the type of this exception.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void Throw () const
Interface Category:
API.
Purpose:
Polymorphically throws an exception.
Calling Context:
Called to throw an exception of this type.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through. This is the exception thrown.
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.