mirror of
https://github.com/zaaarf/lillero-mapper.git
synced 2024-11-13 00:39:20 +01:00
fix: forgot a couple throws
This commit is contained in:
parent
6ec42321a3
commit
3514ce5b3b
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue