Changed CATCH/TRY/ENDCATCH statements according to new defintions in libpari