Fix for older groovy compiler, catching multiple exceptions at once.