Interface IDexExceptionItem
public interface IDexExceptionItem
This interface represents try-catch information for a bytecode area of a method. Retrieved via
IDexCodeItem.getExceptionItems().-
Method Summary
Modifier and TypeMethodDescriptionList<? extends IDexExceptionHandler> Get the list of catch handlers.intGet the code address of the beginning of the try block.default intGet the code address at the end of the try block.intGet the code size of the try block
-
Method Details
-
getTryAddress
int getTryAddress()Get the code address of the beginning of the try block.- Returns:
- the address in bytes
-
getTrySize
int getTrySize()Get the code size of the try block- Returns:
- the size in bytes
-
getTryAddressEnd
default int getTryAddressEnd()Get the code address at the end of the try block.- Returns:
- the end address in bytes
-
getHandlers
List<? extends IDexExceptionHandler> getHandlers()Get the list of catch handlers.- Returns:
- the list of handlers, which may contain at most one non-typed handler
-