Some reflection work, replaced all throws clauses with a try/multi-catch block.