log.error(ble.toString());
log.error("Exception", ble);
    public void insertUpdate(DocumentEvent e) {      Document doc = e.getDocument();      try {        String newContent = doc.getText(e.getOffset(), e.getLength());        newContent = newContent.toLowerCase();        int index = newContent.indexOf(notifyCondition);        if (index != -1) {          notifyCount++;          // if there's already a highlighted notify condition,           // then don't highlight a new one          if (notifyPosition != null)            return;          int startOffset = doc.getEndPosition().getOffset() -            newContent.length() + index - 1;          int endOffset = startOffset + notifyCondition.length();          highlightNotifyString(startOffset, endOffset);          notifyPosition = doc.createPosition(endOffset);          statusButton.setStatus(NodeStatusButton.STATUS_NOTIFY);        }      } catch (BadLocationException ble) {        if(log.isErrorEnabled()) {          log.error(ble.toString());        }      }    }