title: Eclipse Conditional-Breakpoint. How to check if exception occurs?
body: <p>I have this function:</p>
  
  <pre><code>public static FradId readFradId(DataInput pIn) throws IOException {
      Integer lMainId = Integer.valueOf(pIn.readInt());
      Integer lReferenceId = Integer.valueOf(pIn.readInt());
      String lShortname = pIn.readUTF();
      return new FradId(lMainId,lReferenceId,lShortname);
    }
  </code></pre>
  
  <p>I got a breakpoint at this line:</p>
  
  <pre><code>String lShortname = pIn.readUTF();
  </code></pre>
  
  <p>my problem is in some cases the function <code>readUTF</code> throws a <code>RuntimeException</code>. The application executes the function more than 100 times so it is very difficult for me finding the problem.</p>
  
  <p>my question: is there a way to catch that exception with a breakpoint condition? I already use that conditions with easy boolean conditions, but I dont know how to stop in that line when a exception is thrown.</p>
  
  <p>Thx in advance</p>
  
  <p>Stefan</p>