You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: cat_run_newcatch1173.m
    path of file: ./repos/ExploreASL/External/SPMmodified/toolbox/cat12/cat_run1173
    
    the code of the file until where you have to start completion: function cat_run_newcatch1173(job,tpm,subj)
% ______________________________________________________________________
% This function contains the new matlab try-catch block.
% The new try-catch block has to be in a separate file to avoid an error.
%
% See also cat_run_newcatch.
% ______________________________________________________________________

    
function cat_run_newcatch1173(job,tpm,subj)
% ______________________________________________________________________
% This function contains the new matlab try-catch block.
% The new try-catch block has to be in a separate file to avoid an error.
%
% See also cat_run_newcatch.
% ______________________________________________________________________
% $Revision: 1391 $  $Date: 2018-11-12 22:30:23 +0100 (Mo, 12 Nov 2018) $

  global cat_err_res;

  try
    if job.extopts.APP == 1070
      cat_run_job10701173(job,tpm,subj); 
    else
      cat_run_job1173(job,tpm,subj); 
    end
  catch caterr 
    %% add further information for special errors
    if isempty(caterr.identifier)
      switch caterr.message
        case 'insufficient image overlap'
          adderr = MException('SPM:AlignmentError','There is not enough overlap in the images to obtain a solution.');
        otherwise
          adderr = MException('SPM:CAT:cat_main',strrep(caterr.message,'\','\\'));
      end