• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 1622 for branches

Show
Ignore:
Timestamp:
06/11/07 21:18:57 (18 months ago)
Author:
david
Message:

exception handling cleanup ticket #730

Files:
1 modified

  • branches/3.0-Beta2/components/server/src/ome/dynamic/BuildRunner.java (modified) (1 diff)

Legend:

Unmodified
Added
Removed
  • branches/3.0-Beta2/components/server/src/ome/dynamic/BuildRunner.java

    r1608 r1622  
    147147            run = klass.getMethod("run", new Class[] { String.class }); 
    148148            run.invoke(null, new Object[] { url.getFile() }); 
    149         } catch (SecurityException e) { 
    150             // TODO Auto-generated catch block 
    151             log.error("SecurityException caught, throwing RuntimeException", e.getCause()); 
     149        } catch (Exception e) { 
     150            // TODO Auto-generated catch-all block 
    152151            throw new RuntimeException("Unimplemented exception.", e); 
    153         } catch (NoSuchMethodException e) { 
    154             // TODO Auto-generated catch block 
    155             log.error("NoSuchMethodException caught, throwing RuntimeException", e.getCause()); 
    156             throw new RuntimeException("Unimplemented exception.", e); 
    157         } catch (IllegalArgumentException e) { 
    158             // TODO Auto-generated catch block 
    159             log.error("IllegalArgumentException caught, throwing RuntimeException", e.getCause()); 
    160             throw new RuntimeException("Unimplemented exception.", e); 
    161         } catch (IllegalAccessException e) { 
    162             // TODO Auto-generated catch block 
    163             log.error("IllegalAccessException caught, throwing RuntimeException", e.getCause()); 
    164             throw new RuntimeException("Unimplemented exception.", e); 
    165         } catch (InvocationTargetException e) { 
    166             // TODO Auto-generated catch block 
    167             log.error("InvocationTargetException caught, throwing RuntimeException", e.getCause()); 
    168             throw new RuntimeException("Unimplemented exception.", e); 
    169         } 
     152        }  
    170153 
    171154    } 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/