Accept needs to be called before init. Propagate exception message.

Closes #360
This commit is contained in:
Mumfrey committed 2019-09-18 19:15:36 +01:00
1 parent d28607b86a
commit 5ea23f8bb0
2 files changed
+3 -3

No files matched your search

@@ -797,7 +797,7 @@ class MixinInfo implements Comparable<MixinInfo>, IMixinInfo {
} catch (InvalidMixinException ex) {
throw ex;
} catch (Exception ex) {
throw new InvalidMixinException(this, ex);
throw new InvalidMixinException(this, ex.getMessage(), ex);
}
if (!this.type.isLoadable()) {