Class: TDisplayConfigurationRangeException

Declaration: DisplayConfiguration.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TStandardException

Inherited By:

None.

Purpose:

TDisplayConfigurationRangeException class derives from TStandardException. This class is used to throw an exception whenever an attempt is made to change a video configuration parameter to an invalid setting. The exception may be thrown when the call attempts to set the parameter, which is preferable, or it may happen when the video system tries to commit the settings.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

All configuration change classes.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TDisplayConfigurationRangeException::TDisplayConfigurationRangeException

  1. TDisplayConfigurationRangeException()
  2. TDisplayConfigurationRangeException( const TDisplayConfigurationRangeException& other)

Interface Category:

API.

Purpose:

  1. Default constructor that creates a display configuration range exception object.
  2. Copy constructor.

Calling Context:

  1. Called to throw a video configuration parameter exception.
  2. Called to copy a TDisplayConfigurationRangeException exception object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TDisplayConfigurationRangeException::operator=

TDisplayConfigurationRangeException& operator=(const TDisplayConfigurationRangeException& other)

Interface Category:

API.

Purpose:

The assignment operator.

Calling Context:

Called to assign one object to another.

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: TDisplayConfigurationRangeException::Throw

virtual void Throw() const

Interface Category:

API.

Purpose:

Throws a video configuration parameter exception.

Calling Context:

Called this function directly when an error occurs due to setting an invalid video configuration parameter.

Parameters:

Return Value:

None.

Exceptions:

Throws self.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TDisplayConfigurationRangeException::~TDisplayConfigurationRangeException

virtual ~ TDisplayConfigurationRangeException ()

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.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.