add message to UnsupportedOperationException

This commit is contained in:
jmillman 2016-05-20 16:18:56 -04:00
parent 4d018f45d5
commit 0b03435b23

View File

@ -109,7 +109,7 @@ public class SwingFXMenuUtils extends MenuItem {
populateSubMenus(menuElement);
} else {
throw new UnsupportedOperationException();
throw new UnsupportedOperationException("Unown MenuElement subclass: " + menuElement.getClass().getName());
}
}
}