Throwing exceptions

I've added try catch blocks around the code which calls before hooks with the intention of it calling the callback to the collection method with an exception rather than ignoring it completely.