Package ghidra.program.util
Class AddressTranslationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ghidra.program.util.AddressTranslationException
- All Implemented Interfaces:
Serializable
Exception thrown when an attempt is made to translate an address
from one program into an equivalent address in another program.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct a new AddressTranslationException with no messageAddressTranslationException
(Address address, AddressTranslator translator) Construct a new AddressTranslationException with the given address and translator.Construct a new AddressTranslationException with the given message -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AddressTranslationException
public AddressTranslationException()Construct a new AddressTranslationException with no message -
AddressTranslationException
Construct a new AddressTranslationException with the given message- Parameters:
msg
- the exception message
-
AddressTranslationException
Construct a new AddressTranslationException with the given address and translator. The message will indicate there is a conflict between the two data types.- Parameters:
address
- the first of the two conflicting data types. (The new data type.)translator
- the second of the two conflicting data types. (The existing data type.)
-
-
Method Details
-
getAddress
-
getTranslator
-