Class: TUnicodeException

Declaration: Unicode.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TStandardException

Inherited By:

None.

Purpose:

Distinguishes exceptions occurring within the handling of Unicode characters from other exceptions.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Derived classes of TUnicode might want to provide derived classes of TUnicodeException for any exception conditions they may define.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Member Function: TUnicodeException::operator=

TUnicodeException & operator =(const TUnicodeException & rhs)

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:

Multithread safe.

Other Considerations:

None.

Member Function: TUnicodeException::~TUnicodeException

virtual ~ TUnicodeException ()

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: TUnicodeException::TUnicodeException

  1. TUnicodeException ()
  2. TUnicodeException (TUnicodeException :: EUnicodeExceptionID id)
  3. TUnicodeException (const TUnicodeException & copy)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Constructs a TUnicodeException with a particular error ID.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Call to construct a TUnicodeException with a particular error ID.
  3. 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: TUnicodeException::GetErrorID

void GetErrorID (EUnicodeExceptionID & id) const

Interface Category:

API.

Purpose:

Returns the error ID of this exception.

Calling Context:

Call to get the error ID of this exception.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TUnicodeException::SetErrorID

void SetErrorID (EUnicodeExceptionID id)

Interface Category:

API.

Purpose:

Specifies the error ID of this exception.

Calling Context:

Call to specify the error ID of this exception.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TUnicodeException::Throw

virtual void Throw () const

Interface Category:

API.

Purpose:

Throws an instance of this exception.

Calling Context:

Used only by the exception handling system to throw an instance of this exception class.

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.