Exception for exception is handled in the catch section below.