Exception handling

What is exception handling?

print("division of number")
i=int(input("enter a number "))
j=int(input("enter a number "))
try:
if j==0:
raise Exception("division by 0 not possible")
except Exception as e:
print(e)
else:
print(i/j)

finally:
print("program terminated")