Exception handling

All property exceptions derive from TPropertyException (which, in turn, derives from TStandardException).


Exception Class Description

Descriptions for property exception classes
TPropertyTypeMismatch Attempted a downcast assignment with an incorrect type.
TInvalidPropertyValue Attempted to retrieve a non-existent value.
TInvalidPropertyValueArgument Attempted to construct a property with a NIL value.
TPropertyObjectPassedToSelf Attempted an operation that is illegal with "this" as
an argument.
TPropertyValueNotOrdered Attempted to create an ordered query with a
non-ordered type.

CAUTION Property exceptions are not the only type of exceptions that can be thrown out of this interface. In addition to any specific exceptions that your code catches, you should close your exception list with:

    catch(...)


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker