throw new BadLocationException("the where argument cannot be greater"
throw new BadLocationException("The where argument cannot be greater"
  public UndoableEdit insertString(int where, String str)      throws BadLocationException  {    // check arguments    int length = length();    int strLen = str.length();    if (where >= length)      throw new BadLocationException("the where argument cannot be greater"          + " than the content length", where);    replace(where, 0, str.toCharArray(), strLen);    return new InsertUndo(where, strLen);  }