@Override public void stop() throws IOException { if (!isRunning()) { throw new IllegalStateException("Instance is already stopped."); } listener.stop(); }
@Override public void stop() throws IOException { if (!isRunning()) { return; } listener.stop(); }
@Override public void stop() throws IOException { if (!isRunning()) { return; } listener.stop(); }
@Override public void stop() throws IOException { if (!isRunning()) { throw new IllegalStateException("Instance is already stopped."); } listener.stop(); }