RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EConversionError Class

EConversionError is the exception class for measurement conversion errors.

Pascal
EConversionError = class(Exception);
C++
class EConversionError : public Exception;

ConvUtils

EConversionError is raised by the global Convert function when 

The specified units (TConvType values) are not compatible with each other. 

The specified units are not registered with any conversion family. 

It is also thrown by the RegisterConversionType function when an application tries to register a conversion type with an unregistered conversion family. 

 

RaiseConversionError 

Convert 

TConvType 

RegisterConversionType

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!