diff options
Diffstat (limited to 'src/cuchaz/enigma/convert/ClassForest.java')
| -rw-r--r-- | src/cuchaz/enigma/convert/ClassForest.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cuchaz/enigma/convert/ClassForest.java b/src/cuchaz/enigma/convert/ClassForest.java index 3673139..a5ea056 100644 --- a/src/cuchaz/enigma/convert/ClassForest.java +++ b/src/cuchaz/enigma/convert/ClassForest.java | |||
| @@ -24,8 +24,12 @@ public class ClassForest { | |||
| 24 | } | 24 | } |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | private void add(ClassEntry entry) { | 27 | public void add(ClassEntry entry) { |
| 28 | m_forest.put(m_identifier.identify(entry), entry); | 28 | try { |
| 29 | m_forest.put(m_identifier.identify(entry), entry); | ||
| 30 | } catch (ClassNotFoundException ex) { | ||
| 31 | throw new Error("Unable to find class " + entry.getName()); | ||
| 32 | } | ||
| 29 | } | 33 | } |
| 30 | 34 | ||
| 31 | public Collection<ClassIdentity> identities() { | 35 | public Collection<ClassIdentity> identities() { |