Brain,
As Pauly said use the Try/Catch Sequences,here is the snippet,
Sequence(Exit on SUCCESS)
—>Sequence(Exit on FAILURE)–Try
-------pub.file.getFile
-------pub.flatFile.convertToValues
------->Mapping steps…
---->Sequence(Exit on DONE)–Catch
------>pub.flow:getLastError(this output holds all the error dump)
------->Nofify the Errors(using pub.client:smtp)
------->Exit the flow (Failure)
So any kind of Invalid Schema,null pointer exceptions the errors will be caught in the DONE sequence.
HTH,
RMG.
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods