Class DWARFExpressionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ghidra.app.util.bin.format.dwarf.expression.DWARFExpressionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DWARFExpressionUnsupportedOpException,DWARFExpressionValueException
A exception that is thrown when dealing with
DWARF expressions
or when they are evaluated.
Use this class when you want to pass the expression and
the location in the expression that caused the problem back up the call chain.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDWARFExpressionException(String message) DWARFExpressionException(String message, DWARFExpression expr, int instrIndex, Throwable cause) DWARFExpressionException(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetExpression(DWARFExpression expr) voidsetInstructionIndex(int instrIndex) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DWARFExpressionException
public DWARFExpressionException() -
DWARFExpressionException
public DWARFExpressionException(String message, DWARFExpression expr, int instrIndex, Throwable cause) -
DWARFExpressionException
-
DWARFExpressionException
-
DWARFExpressionException
-
-
Method Details
-
getExpression
-
setExpression
-
setInstructionIndex
public void setInstructionIndex(int instrIndex) -
getInstructionIndex
public int getInstructionIndex() -
getMessage
- Overrides:
getMessagein classThrowable
-