Throw different exception
This commit is contained in:
parent
f18903834e
commit
700ea125fc
@ -31,7 +31,7 @@ public class JavaClassRegistry {
|
|||||||
if (name.equals(new JavaClassName(className)))
|
if (name.equals(new JavaClassName(className)))
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
throw new NotImplementedException();
|
throw new RuntimeException("Class " + className + " not found!");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -546,9 +546,6 @@ public class TYPEStmt implements StatementVisitor {
|
|||||||
|
|
||||||
GenericsResolver resolver = getResolverInstance();
|
GenericsResolver resolver = getResolverInstance();
|
||||||
Set<Constraint<Pair>> oneMethodConstraints = generateConstraint(superCall, assumption, info, resolver);
|
Set<Constraint<Pair>> oneMethodConstraints = generateConstraint(superCall, assumption, info, resolver);
|
||||||
System.out.println(">>>");
|
|
||||||
System.out.println(oneMethodConstraints);
|
|
||||||
System.out.println("<<<");
|
|
||||||
methodConstraints.addAll(oneMethodConstraints);
|
methodConstraints.addAll(oneMethodConstraints);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user