title: How to catch java.lang.NoClassDefFoundError?
body: <p>I made an application which take elf file(*.a and *.o) and give list of methods name, but if someone renames any file into *.a or *.o then it will show:</p>
  
  <pre><code>Exception occurred during event dispatching:
  java.lang.NoClassDefFoundError: org/eclipse/core/resources/IWorkspaceRunnable
      at org.eclipse.cdt.utils.AR.&lt;init&gt;(AR.java:237)
      at com.lge.windowELF.ElfBinaryArchive.&lt;init&gt;(ElfBinaryArchive.java:24)
      at com.lge.windowELF.ELFParserLibraryFile.createBinaryArchive(ELFParserLibraryFile.java:230)
      at com.lge.windowELF.ELFParserLibraryFile.&lt;init&gt;(ELFParserLibraryFile.java:46)
      at com.lge.windowELF.ELFWrapper.&lt;init&gt;(ELFWrapper.java:36)
      at com.lge.windowELF.ELF_UIIntegrated.actionPerformed(ELF_UIIntegrated.java:510)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at javax.swing.JComponent.processMouseEvent(Unknown Source)
  </code></pre>
  
  <p>In this situation I want to give some warning message. This exception is not caught by try/catch.</p>