mirror of
https://github.com/revanced/smali.git
synced 2025-05-02 23:54:38 +02:00
Make getRegisterType throw AnalysisException instead of ExceptionWithContext
This will cause MethodAnalyzer to print more information when this occurs
This commit is contained in:
parent
26a4f1e603
commit
db9f86dfdd
@ -235,7 +235,7 @@ public class RegisterType {
|
|||||||
case '[':
|
case '[':
|
||||||
return getRegisterType(REFERENCE, classPath.getClass(type));
|
return getRegisterType(REFERENCE, classPath.getClass(type));
|
||||||
default:
|
default:
|
||||||
throw new ExceptionWithContext("Invalid type: " + type);
|
throw new AnalysisException("Invalid type: " + type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user