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:
java.io.Serializable
public class AddressTranslationException extends java.lang.RuntimeException
Exception thrown when an attempt is made to translate an address from one program into an equivalent address in another program.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddressTranslationException()
Construct a new AddressTranslationException with no messageAddressTranslationException(Address address, AddressTranslator translator)
Construct a new AddressTranslationException with the given address and translator.AddressTranslationException(java.lang.String msg)
Construct a new AddressTranslationException with the given message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address
getAddress()
AddressTranslator
getTranslator()
-
-
-
Constructor Detail
-
AddressTranslationException
public AddressTranslationException()
Construct a new AddressTranslationException with no message
-
AddressTranslationException
public AddressTranslationException(java.lang.String msg)
Construct a new AddressTranslationException with the given message- Parameters:
msg
- the exception message
-
AddressTranslationException
public AddressTranslationException(Address address, AddressTranslator translator)
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 Detail
-
getAddress
public Address getAddress()
-
getTranslator
public AddressTranslator getTranslator()
-
-