adding onErrorUse. Closes #8
reducing empty constructor visibility
Merge pull request #10 from caelum/addingOnErroUseMethod

Adding onErrorUse method