Field-Map Scripting

4.16.4 RaiseExceptionOnMissingClass

RaiseExceptionOnMissingClass property


Prototype:

property RaiseExceptionOnMissingClass :boolean;

Description:

It is possible to raise an exception if it does not find the class

Syntax:

RaiseExceptionOnMissingClass:=true;


See also:

Create, Free, LoadClassification, RaiseExceptionOnMissingClass, ReclassifiedValue, ReclassifyTable


Example:

var 
  rcl:TReclassificationWrapper;  
begin
   rcl:=TReclassificationWrapper.create;
   try
     rcl.LoadClassification(ProjectDir+'Misc\SpeciesReclass.xml','');    
     rcl.ReclassifyTable(Trees_2013,'Species','SpeciesGroup');
   finally
     rcl.Free;                               
   end; 
end.