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