Class: TArgumentDictionaryLookupFailureException

Declaration: TextArgumentDictionary.h

Taxonomy Categories:

Member Functions:


Interface Category:

Developer Tool Programmer Interface.

Inherits From:

TStandardException

Inherited By:

None.

Purpose:

An exception thrown by TTextArgumentDictionary when a lookup fails.

Instantiation:

Always allocate on the stack.

Deriving Classes:

Used directly.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TArgumentDictionaryLookupFailureException::~TArgumentDictionaryLookupFailureException

virtual ~ TArgumentDictionaryLookupFailureException ()

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Destructor. Performs no operation.

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

TArgumentDictionaryLookupFailureException & operator =(const TArgumentDictionaryLookupFailureException & other)

Interface Category:

Developer Tool Programmer Interface.

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

virtual bool operator ==(const TStandardException & that) const

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Compares the given exception with this exception.

Calling Context:

Called this function directly.

Parameters:

Return Value:

Returns true if the given exception object is the same as this exception.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TArgumentDictionaryLookupFailureException::operator<<=

virtual TStream & operator <<= (TStream & fromWhere)

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Stream-in operator.

Calling Context:

Called to stream in data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself in from.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TArgumentDictionaryLookupFailureException::operator>>=

virtual TStream & operator >>=(TStream & toWhere) const

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Stream-out operator.

Calling Context:

Called to stream out data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself out to.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TArgumentDictionaryLookupFailureException::GetMaxAllowed

double GetMaxAllowed () const

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Returns the minimum allowed value for the number that is looked up.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns the minimum allowed value for the number that is looked up.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TArgumentDictionaryLookupFailureException::GetMinAllowed

double GetMinAllowed () const

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Returns the maximum allowed value for the number that is looked up.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns the maximum allowed value for the number that is looked up.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TArgumentDictionaryLookupFailureException::GetParsedValue

double GetParsedValue () const

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Returns the numeric value that is parsed from the value in the dictionary.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns the numeric value that is parsed from the value in the dictionary.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TArgumentDictionaryLookupFailureException::GetReason

ELookupError GetReason () const

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Returns the reason why the lookup failed.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns the reason why the lookup failed.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TArgumentDictionaryLookupFailureException::GetActualValue

void GetActualValue (TText &) const

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Get the actual TText value from the dictionary that was found in the lookup.

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: TArgumentDictionaryLookupFailureException::GetKey

void GetKey (TText &) const

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Get the key that was used in the lookup.

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

virtual void Throw () const

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Throws this exception object.

Calling Context:

Called when this exception is to be thrown.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TArgumentDictionaryLookupFailureException::TArgumentDictionaryLookupFailureException

  1. TArgumentDictionaryLookupFailureException ()
  2. TArgumentDictionaryLookupFailureException (const TArgumentDictionaryLookupFailureException & other)
  3. TArgumentDictionaryLookupFailureException (ELookupError errorType, const TText * actualValue, double parsedValue, double minAllowed, double maxAllowed, const TText * key =NIL)

Interface Category:

Developer Tool Programmer Interface.

Purpose:

  1. Default constructor.
  2. Copy constructor.
  3. Constructor that takes all the input data for the exception.

Calling Context:

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

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.