what are different types of exception in selenium