catches all Exceptions, not just StandardError