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;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!