Package org.jf.dexlib2.dexbacked
Class DexBackedTypedExceptionHandler
- java.lang.Object
-
- org.jf.dexlib2.base.BaseExceptionHandler
-
- org.jf.dexlib2.dexbacked.DexBackedExceptionHandler
-
- org.jf.dexlib2.dexbacked.DexBackedTypedExceptionHandler
-
- All Implemented Interfaces:
java.lang.Comparable<ExceptionHandler>
,ExceptionHandler
public class DexBackedTypedExceptionHandler extends DexBackedExceptionHandler
-
-
Field Summary
-
Fields inherited from class org.jf.dexlib2.base.BaseExceptionHandler
BY_EXCEPTION
-
-
Constructor Summary
Constructors Constructor Description DexBackedTypedExceptionHandler(DexBackedDexFile dexFile, DexReader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExceptionType()
Gets the type of exception that is handled by this handler.int
getHandlerCodeAddress()
Gets the code offset of the handler.-
Methods inherited from class org.jf.dexlib2.base.BaseExceptionHandler
compareTo, equals, getExceptionTypeReference, hashCode
-
-
-
-
Constructor Detail
-
DexBackedTypedExceptionHandler
public DexBackedTypedExceptionHandler(@Nonnull DexBackedDexFile dexFile, @Nonnull DexReader reader)
-
-
Method Detail
-
getExceptionType
@Nonnull public java.lang.String getExceptionType()
Description copied from interface:ExceptionHandler
Gets the type of exception that is handled by this handler.- Returns:
- The type of exception that is handled by this handler, or null if this is a catch-all handler.
-
getHandlerCodeAddress
public int getHandlerCodeAddress()
Description copied from interface:ExceptionHandler
Gets the code offset of the handler.- Returns:
- The offset of the handler from the the beginning of the bytecode for the method. The offset will be in terms of 16-bit code units
-
-