Class AddressTranslationException

  • All Implemented Interfaces:

    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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Address getAddress()  
      AddressTranslator getTranslator()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 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
        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.
        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.)