Class: TFormatterException

Declaration: Formatter.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TStandardException

Inherited By:

None.

Purpose:

Derived from TStandardException, this class encapsulates the exceptions thrown by the formatting classes.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Derive from TFormatterException to provide additional error identifiers for formatting exceptions.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TFormatterException::GetErrorID

void GetErrorID (EFormatterExceptionID & id) const

Interface Category:

API.

Purpose:

Returns the error ID for this exception.

Calling Context:

Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TFormatterException::TFormatterException

  1. TFormatterException ()
  2. TFormatterException (const TFormatterException & toCopy)
  3. TFormatterException (EFormatterExceptionID error)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.
  3. Constructs an exception with the specified error ID.

Calling Context:

  1. Called by the stream-in operators.
  2. Called to copy an object.
  3. Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TFormatterException::operator=

TFormatterException & operator =(const TFormatterException & toCopy)

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: TFormatterException::~TFormatterException

virtual ~ TFormatterException ()

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

virtual void Throw () const

Interface Category:

API.

Purpose:

Throws this exception object.

Calling Context:

Called during exception generation. Clients should not call directly.

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.