Refactoring exceptions throws.