Package ghidra.app.util.bin.format.dwarf4.expression

# Class DWARFExpressionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ghidra.app.util.bin.format.dwarf4.expression.DWARFExpressionException

All Implemented Interfaces:
  `Serializable`

public class DWARFExpressionException extends Exception
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 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(String message)`
  `DWARFExpressionException(String message, DWARFExpression expr, int step)`
  `DWARFExpressionException(String message, DWARFExpression expr, int step, Throwable cause)`
  `DWARFExpressionException(String message, Throwable cause)`
  `DWARFExpressionException(Throwable cause)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DWARFExpression`
  `getExpression()`
  `String`
  `getMessage()`
  `int`
  `getStep()`
  `void`
  `setExpression(DWARFExpression expr)`
  `void`
  `setStep(int step)`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### DWARFExpressionException

    public DWARFExpressionException()

  - ### DWARFExpressionException

    public DWARFExpressionException(String message, DWARFExpression expr, int step)

  - ### DWARFExpressionException

    public DWARFExpressionException(String message, DWARFExpression expr, int step, Throwable cause)

  - ### DWARFExpressionException

    public DWARFExpressionException(String message, Throwable cause)

  - ### DWARFExpressionException

    public DWARFExpressionException(String message)

  - ### DWARFExpressionException

    public DWARFExpressionException(Throwable cause)

- ## Method Details

  - ### getExpression

    public DWARFExpression getExpression()

  - ### setExpression

    public void setExpression(DWARFExpression expr)

  - ### setStep

    public void setStep(int step)

  - ### getStep

    public int getStep()

  - ### getMessage

    public String getMessage()
    Overrides:
      `getMessage` in class `Throwable`