Class PortInUseException

    • Constructor Detail

      • PortInUseException

        public PortInUseException​(int port)
        Creates a new port in use exception for the given port.
        Parameters:
        port - the port that was in use
    • Method Detail

      • getPort

        public int getPort()
        Returns the port that was in use.
        Returns:
        the port