## Uses of Class
org.apache.bcel.generic.CodeExceptionGen

- Packages that use CodeExceptionGen
  Package | Description
  --- | ---
  org.apache.bcel.generic | This package contains the "generic" part of the Byte Code Engineering Library, i.e., classes to dynamically modify class objects and byte code instructions.

- - ### Uses of CodeExceptionGen in org.apache.bcel.generic

    Methods in org.apache.bcel.generic that return CodeExceptionGen
    Modifier and Type | Method and Description
    --- | ---
    `CodeExceptionGen` | MethodGen.`addExceptionHandler(InstructionHandle startPc, InstructionHandle endPc, InstructionHandle handlerPc, ObjectType catchType)` Add an exception handler, i.e., specify region where a handler is active and an instruction where the actual handling is done.
    `CodeExceptionGen[]` | MethodGen.`getExceptionHandlers()`

    Methods in org.apache.bcel.generic with parameters of type CodeExceptionGen
    Modifier and Type | Method and Description
    --- | ---
    `static int` | MethodGen.`getMaxStack(ConstantPoolGen cp, InstructionList il, CodeExceptionGen[] et)` Computes stack usage of an instruction list by performing control flow analysis.
    `void` | InstructionList.`redirectExceptionHandlers(CodeExceptionGen[] exceptions, InstructionHandle oldTarget, InstructionHandle newTarget)` Redirect all references of exception handlers from oldTarget to newTarget.
    `void` | MethodGen.`removeExceptionHandler(CodeExceptionGen c)` Remove an exception handler.

Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.