Exporting generated exceptions