Class AddressTranslationException

All Implemented Interfaces:
Serializable

public class AddressTranslationException extends RuntimeException
Exception thrown when an attempt is made to translate an address from one program into an equivalent address in another program.
See Also:
  • Constructor Details

    • AddressTranslationException

      public AddressTranslationException()
      Construct a new AddressTranslationException with no message
    • AddressTranslationException

      public AddressTranslationException(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 Details