An exception indicating problems while parsing formal string representations of either KeyStroke or KeySequence objects.
KeyStroke
KeySequence
ParseException objects are immutable. Clients are not permitted to extend this class.
ParseException
141142143144145146147148149
for (char keyChar : text.toLowerCase().toCharArray()) { if (isAlphanumericKey(keyChar)) { item.pressShortcut(getKey(keyChar)); } else { throw new ParseException("Can`t parse key: \"" + keyChar + "\" - it is not an alphanumeric key!"); } } }