Class DWARFExpressionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ghidra.app.util.bin.format.dwarf4.expression.DWARFExpressionException
-
- All Implemented Interfaces:
java.io.Serializable
public class DWARFExpressionException extends java.lang.Exception
A exception that is thrown when dealing withDWARF expressions
or when they areevaluated.
Use this class when you want to pass the
expression
and the opcode / step in the expression that caused the problem back up the call chain.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DWARFExpressionException()
DWARFExpressionException(java.lang.String message)
DWARFExpressionException(java.lang.String message, DWARFExpression expr, int step)
DWARFExpressionException(java.lang.String message, DWARFExpression expr, int step, java.lang.Throwable cause)
DWARFExpressionException(java.lang.String message, java.lang.Throwable cause)
DWARFExpressionException(java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DWARFExpression
getExpression()
java.lang.String
getMessage()
int
getStep()
void
setExpression(DWARFExpression expr)
void
setStep(int step)
-
-
-
Constructor Detail
-
DWARFExpressionException
public DWARFExpressionException()
-
DWARFExpressionException
public DWARFExpressionException(java.lang.String message, DWARFExpression expr, int step)
-
DWARFExpressionException
public DWARFExpressionException(java.lang.String message, DWARFExpression expr, int step, java.lang.Throwable cause)
-
DWARFExpressionException
public DWARFExpressionException(java.lang.String message, java.lang.Throwable cause)
-
DWARFExpressionException
public DWARFExpressionException(java.lang.String message)
-
DWARFExpressionException
public DWARFExpressionException(java.lang.Throwable cause)
-
-
Method Detail
-
getExpression
public DWARFExpression getExpression()
-
setExpression
public void setExpression(DWARFExpression expr)
-
setStep
public void setStep(int step)
-
getStep
public int getStep()
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
-