summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-08-26 23:21:28 +0200
committer zaaarf <zaaarf@proton.me>2023-08-26 23:21:28 +0200
commit3514ce5b3b08d3a3f643dacded100d0eae21e4bb (patch)
treef644f49bfe1974b5106bfb54648fff6d6a270626 /src/main
parent6ec42321a36bb44f71ca27a52c774a8dee21ef08 (diff)
fix: forgot a couple throws0.2.0
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/ftbsc/lll/mapper/AbstractMapper.java4
1 files 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);
}