Interface IDexExceptionHandler
public interface IDexExceptionHandler
This interface represents information about an exception handler. Retrieved via
IDexExceptionItem.getHandlers().-
Method Summary
Modifier and TypeMethodDescriptionintGet the handler's code address.intGet the type of exceptions checked by this catch handler.resolveType(IDexUnit dex) Resolve the catch handler type.
-
Method Details
-
getTypeIndex
int getTypeIndex()Get the type of exceptions checked by this catch handler.- Returns:
- the type index, of -1 if the catch handler is untyped
-
getAddress
int getAddress()Get the handler's code address.- Returns:
- the address in bytes
-
resolveType
Resolve the catch handler type.- Parameters:
dex- the dex unit used to resolve the type- Returns:
- the resolved type, or null for an untyped catch handler
-