From 3514ce5b3b08d3a3f643dacded100d0eae21e4bb Mon Sep 17 00:00:00 2001 From: zaaarf Date: Sat, 26 Aug 2023 23:21:28 +0200 Subject: [PATCH] fix: forgot a couple throws --- src/main/java/ftbsc/lll/mapper/AbstractMapper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ftbsc/lll/mapper/AbstractMapper.java b/src/main/java/ftbsc/lll/mapper/AbstractMapper.java index 62585c4..bd71f90 100644 --- a/src/main/java/ftbsc/lll/mapper/AbstractMapper.java +++ b/src/main/java/ftbsc/lll/mapper/AbstractMapper.java @@ -42,7 +42,7 @@ public abstract class AbstractMapper implements IMapper { @Override - public ClassData getClassData(String name) { + public ClassData getClassData(String name) throws MappingNotFoundException { ClassData data = this.mappings.get(name.replace('.', '/')); if(data == null) throw new MappingNotFoundException("class", name); @@ -50,7 +50,7 @@ public abstract class AbstractMapper implements IMapper { } @Override - public MethodData getMethodData(String parent, String name, String descriptor) { + public MethodData getMethodData(String parent, String name, String descriptor) throws MappingNotFoundException { return this.getClassData(parent).mapMethod(name, descriptor); }