クラス
javax.swing.text.BadLocationExceptionの使用