efficent way to handle the following exception
<p>I have the following code:</p>

<pre><code>public boolean perform(CronJob job)
   final Date lastQueryDateTime = new Date();
   QueryMode queryMode = job.getQueryModeEnum();
   try {
      if (queryMode.getCode().equals("FULL")) 
      {
         calculateCoverage();    

      } else if (queryMode.getCode().equals("INCREMENTAL")) 
      {
          calculateCoverage();
      }        
       job.setLastQueryDate(lastQueryDateTime);
       job.save(job);

       return true;

      } catch (Exception e) {
       LOG.error("Error while calculating the coverage for products.", e);
       return false;
      }
}

private void calculateCoverage()
{

// Some Logic

}
</code></pre>

<p>I got in doubt if there is actually too much logic to be handled in between and if the try/catch scope is to wide. Is there a better approach to do this??. I would liket handle the try/catch within calculateCoverage but in that case I will need to pass job as an argurment to calculateCoverage and I think is not that clean.. Any suggestions?</p>

<p>thank you!</p>
