# Interface: com.pnfsoftware.jeb.core.units.code.android.ir.IDExceptionHandler

`dexdec` exception handler definition.

## Method: getAddress
- return type: `int`

Description: Get the handler's code address.
return: the address in bytes

## Method: getTypeIndex
- return type: `int`

Description: Get the type of exceptions checked by this catch handler.
return: underlying dex type index, of \-1 if the catch handler is untyped

## Method: isCatchAll
- parameter: `ctx`, type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDMethodContext`
- return type: `boolean`

Description: Determine whether this handler is a catch\-all. Untyped handlers or handlers typed to catch `java.lang.Throwable` are considered catch\-all.
parameter: ctx: method context
return: true if this handler is a catch\-all handler

## Method: isCatchAll
- parameter: `ctx`, type: `com.pnfsoftware.jeb.core.units.code.android.ir.IDMethodContext`
- parameter: `onlyTrueCatchAll`, type: `boolean`
- return type: `boolean`

Description: Determine whether this handler is a catch\-all. Untyped handlers or handlers typed to catch `java.lang.Throwable` may be considered catch\-all.
parameter: ctx: method context
parameter: onlyTrueCatchAll: if true, only untyped handlers are considered catch\-all
return: true if this handler is a catch\-all handler

## Method: isTyped
- return type: `boolean`

Description: Determine whether the handler is typed or not.
return: true if this handler has an explicit exception type

## Method: setAddress
- parameter: `address`, type: `int`

Description: Update the handler's code address.
parameter: address: handler address in bytes

## Method: setTypeIndex
- parameter: `typeIndex`, type: `int`

Description: Update the type index.
parameter: typeIndex: underlying dex type index

