Exception handling in some methods