Throwing UnresolvedClassException if interfaces weren't fully resolved.

This commit is contained in:
Izzat Bahadirov 2013-05-01 17:35:31 -04:00
parent 5c2353878c
commit 89b28308db

View File

@ -141,6 +141,10 @@ public class ClassProto implements TypeProto {
interfacesFullyResolved = false;
}
if (!interfacesFullyResolved) {
throw new UnresolvedClassException("Interfaces for class %s not fully resolved", getType());
}
return interfaces;
}