Class: TViewAdoptionRefusedException

Declaration: ViewExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TStandardException

Inherited By:

None.

Purpose:

TViewAdoptionRefusedException is used for exceptions that occur when there are problems adopting child views. Developer code can throw this exception if it wants to limit the number or type of children that a particular view derived class may have. TViewRoot will throw this exception when code tries to adopt a view into a view root that already has a child view.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TViewAdoptionRefusedException::TViewAdoptionRefusedException

  1. TViewAdoptionRefusedException ()
  2. TViewAdoptionRefusedException (const TViewAdoptionRefusedException & copy)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TViewAdoptionRefusedException::~TViewAdoptionRefusedException

virtual ~ TViewAdoptionRefusedException ()

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: TViewAdoptionRefusedException::operator=

TViewAdoptionRefusedException & operator =(const TViewAdoptionRefusedException & 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, the TViewAdoptionRefusedException object that receives the assignment.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TViewAdoptionRefusedException::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Throws an adoption refused exception.

Calling Context:

Call this function directly when this exception occurs.

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.