Exception handler able to catch get and set exceptions

Exception handler able to catch get and set exceptions.