Exceptions and used reflection