We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ac4926 commit 1b25c58Copy full SHA for 1b25c58
src/main/java/org/scijava/menu/ShadowMenu.java
@@ -238,6 +238,13 @@ public URL getIconURL() {
238
}
239
return iconURL;
240
241
+ catch (final ClassNotFoundException exc) {
242
+ final String message = "Failed to load class: " +
243
+ moduleInfo.getDelegateClassName();
244
+ if (log.isDebug()) log.debug(message, exc);
245
+ else log.error(message);
246
+ return null;
247
+ }
248
catch (final IllegalArgumentException exc) {
249
final String message = "Could not load icon for class: " +
250
moduleInfo.getDelegateClassName();
0 commit comments