JVCL Help:EJvCsvDataSetError

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

EJvCsvDataSetError
run\JvCsvData.pas


Summary

Exception class for dataset errors.

run\JvCsvData.pas


Pascal

 run\JvCsvData.pas
 EJvCsvDataSetError = class(EDatabaseError);


Description

This class is used, instead of just raising a bare Exception, so you can craft your exception handling. If you are doing a dataset operation and you want to handle only errors raised by a TJvCsvDataSet, you can write this: try
MyDataSet.DoSomething;
except
on E:EJvCsvDataSetError dobegin

 DoSomeSpecializedErrorHandling;
end
end;

run\JvCsvData.pas


About

Navigation

run\JvCsvData.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page