Gets the exception which triggers the InvalidFormatException event.
The Data format can be specified explicitly or deduced from the file extension. When a proper importer is created, it performs a data check and raises the InvalidFormatException event if it fails.
You can handle the event and perform required actions (inform the end-user) or leave it as is. The event is handled automatically, so no data will be imported and the exception will not propagated further.