public class InstructionExceptionFormatter
extends java.lang.Object
PartialEvaluator
and StackSizeComputer
to print the erroneous instruction and
any previous bytecode instructions and the next one to give some context.Constructor and Description |
---|
InstructionExceptionFormatter(org.apache.logging.log4j.Logger logger,
CircularIntBuffer offsetBuffer,
byte[] code,
Clazz clazz,
Method method) |
Modifier and Type | Method and Description |
---|---|
void |
printException(ProguardCoreException exception) |
void |
printException(ProguardCoreException exception,
TracedVariables variables,
TracedStack stack) |
void |
registerInstructionOffset(int offset) |
public InstructionExceptionFormatter(org.apache.logging.log4j.Logger logger, CircularIntBuffer offsetBuffer, byte[] code, Clazz clazz, Method method)
public void registerInstructionOffset(int offset)
public void printException(ProguardCoreException exception)
public void printException(ProguardCoreException exception, TracedVariables variables, TracedStack stack)