001package jmri.jmrit.logixng;
002
003import jmri.JmriException;
004
005/**
006 * The FemaleSocket is already connected.
007 * Before a FemaleSocket can accept a connect request, it must be disconnected.
008 * 
009 * @author Daniel Bergqvist 2019
010 */
011public class SocketAlreadyConnectedException extends JmriException {
012
013    /**
014     * Creates a new instance of <code>SocketAlreadyConnectedException</code> without detail message.
015     */
016    public SocketAlreadyConnectedException() {
017    }
018
019    /**
020     * Constructs an instance of <code>SocketAlreadyConnectedException</code> with the specified detail message.
021     * @param msg the detail message.
022     */
023    public SocketAlreadyConnectedException(String msg) {
024        super(msg);
025    }
026    
027}