List of usage examples for javax.swing.undo CannotRedoException getMessage
public String getMessage()
From source file:tk.tomby.tedit.core.Buffer.java
/** * DOCUMENT ME!//from www . java2 s .c o m */ public void redo() { try { undo.redo(); MessageManager.sendMessage(new BufferMessage(this, BufferMessage.UNDOABLE_EDIT_EVENT)); if (!modifiedState) { setModifiedState(true); } } catch (CannotRedoException e) { log.error(e.getMessage(), e); } }