Explicitly catched and rethrew exceptions in the scoped_init class. As well as documented it.