pass exception to the entry point