List of usage examples for com.intellij.openapi.ui InputException show
public void show()
From source file:net.sourceforge.transparent.actions.CheckoutDialog.java
License:Open Source License
protected void doOKAction() { if (myConfiguration.FORCE_NON_EMPTY_COMMENT && getComment().length() == 0) { int requestForCheckin = Messages.showYesNoDialog("Check out with empty comment?", "Comment Is Empty", Messages.getWarningIcon()); if (requestForCheckin != OK_EXIT_CODE) { return; }/*from ww w .ja v a2 s. co m*/ } // myConfiguration.LAST_COMMIT_MESSAGE = (getComment()); try { saveState(); super.doOKAction(); } catch (InputException ex) { ex.show(); } }