Added exception handling.
Added exception handling.
Added exception handling.
Added exception handling.