Package proguard.exception
Class InstructionExceptionFormatter
- java.lang.Object
-
- proguard.exception.InstructionExceptionFormatter
-
public class InstructionExceptionFormatter extends java.lang.ObjectThis class is used to format an exception with the previous instructions. It is used by thePartialEvaluatorandStackSizeComputerto print the erroneous instruction and any previous bytecode instructions and the next one to give some context.
-
-
Constructor Summary
Constructors Constructor Description InstructionExceptionFormatter(org.apache.logging.log4j.Logger logger, CircularIntBuffer offsetBuffer, byte[] code, Clazz clazz, Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprintException(ProguardCoreException exception)voidprintException(ProguardCoreException exception, TracedVariables variables, TracedStack stack)voidregisterInstructionOffset(int offset)
-
-
-
Constructor Detail
-
InstructionExceptionFormatter
public InstructionExceptionFormatter(org.apache.logging.log4j.Logger logger, CircularIntBuffer offsetBuffer, byte[] code, Clazz clazz, Method method)
-
-
Method Detail
-
registerInstructionOffset
public void registerInstructionOffset(int offset)
-
printException
public void printException(ProguardCoreException exception)
-
printException
public void printException(ProguardCoreException exception, TracedVariables variables, TracedStack stack)
-
-