decompiler  1.0.0
Public Member Functions | Public Attributes | List of all members
ghidra::JavaError Struct Reference

Exception that mirrors exceptions thrown by the Ghidra client. More...

#include <ghidra_arch.hh>

Inheritance diagram for ghidra::JavaError:
ghidra::LowlevelError

Public Member Functions

 JavaError (const string &tp, const string &message)
 Construct given a class and message.
 
- Public Member Functions inherited from ghidra::LowlevelError
 LowlevelError (const string &s)
 Initialize the error with an explanatory string.
 

Public Attributes

string type
 The name of the Java exception class.
 
- Public Attributes inherited from ghidra::LowlevelError
string explain
 

Detailed Description

Exception that mirrors exceptions thrown by the Ghidra client.

If the Ghidra client throws an exception while trying to answer a query, the exception is caught and sent back to the ArchitectureGhidra object in a specially formatted interrupt message. The message is decoded into this object, which is than thrown.

This class also doubles as an exception generated by the decompiler because of message protocol alignment, which should get sent back to the Ghidra client


The documentation for this struct was generated from the following file: