System.ConvUtils.EConversionError

From RAD Studio API Documentation
Jump to: navigation, search

System.SysUtils.ExceptionSystem.TObjectEConversionError

Delphi

EConversionError = class(Exception);

C++

class PASCALIMPLEMENTATION EConversionError : public System::Sysutils::Exception

Properties

Type Visibility Source Unit Parent
class public
System.ConvUtils.pas
System.ConvUtils.hpp
System.ConvUtils System.ConvUtils

Description

EConversionError is the exception class for measurement conversion errors.

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.

See Also