title: reference to IndexOutOfBoundsException is ambiguous
body: <p>ERROR:</p>
  
  <p>reference to IndexOutOfBoundsException is ambiguous, both class com.sun.star.lang.IndexOutOfBoundsException in com.sun.star.lang and class java.lang.IndexOutOfBoundsException in java.lang match</p>
  
  <p>CODE:</p>
  
  <pre><code>public void insertIntoCell(int CellX, int CellY, String theValue, 
                               XSpreadsheet TT1, 
                               String flag) throws IndexOutOfBoundsException {
  
      XCell oCell = null;
      oCell = TT1.getCellByPosition(CellX, CellY);
  
      if (flag.equals("V")) {
        oCell.setValue((new Float(theValue)).floatValue());
      } else {
        if (theValue!=null &amp;&amp; theValue.length()&gt;0 &amp;&amp; theValue.length()!=0) { 
            oCell.setFormula("'"+(String)theValue.toString());
        } else {
            oCell.setFormula((String)theValue.toString());
        }
      }
    }
  </code></pre>