Make getRegisterType throw AnalysisException instead of ExceptionWithContext

This will cause MethodAnalyzer to print more information when this occurs
This commit is contained in:
Ben Gruver 2016-09-11 11:16:32 -07:00
parent 26a4f1e603
commit db9f86dfdd

View File

@ -235,7 +235,7 @@ public class RegisterType {
case '[':
return getRegisterType(REFERENCE, classPath.getClass(type));
default:
throw new ExceptionWithContext("Invalid type: " + type);
throw new AnalysisException("Invalid type: " + type);
}
}