Class AddressException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AddressException
    extends java.lang.Exception
    Thrown by the Address constructor if the given string address is invalid.
    Since:
    TotalCross 1.13
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AddressException()
      Constructs an empty Exception.
      AddressException​(java.lang.String msg)
      Constructs an exception 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AddressException

        public AddressException()
        Constructs an empty Exception.
      • AddressException

        public AddressException​(java.lang.String msg)
        Constructs an exception with the given message.
        Parameters:
        msg - The error message.