title: How to continue PL/SQL excution beyond exceptions?
body: <p>This <a href="http://www.oracle.com/technetwork/issue-archive/2011/11-mar/o29plsql-085126.html" rel="nofollow noreferrer">exceptions processing article</a> suggests putting 
  the <code>EXCEPTIONS</code> clause inside the nested block.
  When the exception arises then proceed with the next record.</p>
  
  <p>It works in this <a href="https://stackoverflow.com/questions/24812471/how-to-continue-while-loop-after-exception-raised-in-sql">OP</a>.</p>
  
  <p>However, I get a <code>PLS-000103 Error</code> when I try this.</p>
  
  <p>Here's my code:</p>
  
  <p><strong>QUESTION</strong> </p>
  
  <p>How do I continue processing records (A,C,E) that are not exceptions?</p>
  
  <pre><code>set serveroutput on;
  /* Goal is to process all records that don't cause exceptions.
  Using guidance from 
  http://www.oracle.com/technetwork/issue-archive/2011/11-mar/o29plsql-085126.html
  Desired results
  ===============
  A
  C
  E
  */
  
  declare
    v_exception varchar2(1);
    v_item_a    varchar2(2);
    v_item_b    varchar2(1);
  
    cursor c_list
    is 
    (
    select 'A'  as item from dual union all
    select 'BB' as item from dual union all
    select 'C' as item from dual union all
    select 'DD' as item from dual union all
    select 'E' as item from dual union all
    select 'FF' as item from dual);
  
  begin
  
    for items in c_list loop
       v_item_b := items.item;
       dbms_output.put_line(v_item_b);
       /* Putting an excpetion block inside the for loop causes
          PLS-00103: Encountered the symbol "EXCEPTION" 
  
         exception when others
         then dbms_output.put_line('Msg 28:[' || SQLERRM || ']');
         end;
        */ 
    end loop;
       /* Putting it here works.         
       */
    exception when others
    then dbms_output.put_line('Exception OK here:[' || SQLERRM || ']');
    end;
  </code></pre>