Called to report an Exception that was thrown during validation.

 

   

Syntax
 

[C#]
virtual void ReportException(Element element, Exception ex)

[Visual Basic]
Overridable Function ReportException(element As Element, ex As Exception) As void

 

   

Params
 
Name Description
element The Element which was being processed.
ex The Exception which was thrown.

 

   

Notes
 

Called to report an Exception that was thrown during validation.

In general you do not want the validation of one Element to affect another.

So if an Exception is thrown during the validation of one Element, you want this to be reported, but then for validation to continue.

In the event that this happens, this function will be called.

 

   

Example
 
None.