Class: TOutOfVMException

Declaration: KernelExceptions.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

Defines a no more free virtual memory space related exception.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TOutOfVMException::TOutOfVMException

  1. TOutOfVMException (EReason whatHappened, NATIVE_ERROR_TYPE NativeErrorCode =0)
  2. TOutOfVMException (const TOutOfVMException & copy)
  3. TOutOfVMException ()

Interface Category:

API.

Purpose:

  1. Constructs an object from EReason and error data.
  2. Copy constructor.
  3. Default constructor.

Calling Context:

  1. Called to construct an object from EReason and error data.
  2. Called to copy an object.
  3. Called by the stream-in operators and derived classes.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TOutOfVMException::operator=

TOutOfVMException & operator =(const TOutOfVMException & copy)

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:

Not multithread safe.

Other Considerations:

None.

Member Function: TOutOfVMException::~TOutOfVMException

virtual ~ TOutOfVMException ()

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: TOutOfVMException::GetReason

EReason GetReason () const

Interface Category:

API.

Purpose:

Gets the reason for the exception.

Calling Context:

Called to get the reason for the exception.

Parameters:

Return Value:

Returns EReason for the exception.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TOutOfVMException::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Throws the exception.

Calling Context:

Called by the client code to throw the exception.

Parameters:

Return Value:

None.

Exceptions:

Throws the exception requested.

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.