AssertionError ae = new AssertionError("Unexpected bad location"); ae.initCause(e); throw ae;
  protected void drawLine(int lineIndex, Graphics g, int x, int y)  {    try      {	metrics = g.getFontMetrics();	// FIXME: Selected text are not drawn yet.	Element line = getElement().getElement(lineIndex);	drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset());	//drawSelectedText(g, , , , );      }    catch (BadLocationException e)      {	// This should never happen.      }  }