Class: TPrimitiveRegionException

Declaration: PrintingExceptions.h

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.

Member Function: TPrimitiveRegionException::TPrimitiveRegionException

  1. TPrimitiveRegionException (EReason whatHappened)
  2. TPrimitiveRegionException (const TPrimitiveRegionException & copy)
  3. TPrimitiveRegionException ()

Interface Category:

API.

Purpose:

  1. Constructor for a specific reason of an exception.
  2. Copy constructor.
  3. Default constructor.

Calling Context:

  1. Called to throw an exception of this specific type.
  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. This is the exception.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TPrimitiveRegionException::operator=

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.

Member Function: TPrimitiveRegionException::~TPrimitiveRegionException

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.

Member Function: TPrimitiveRegionException::GetReason

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.

Member Function: TPrimitiveRegionException::Throw

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.