View Javadoc

1   package cz.cuni.amis.pogamut.base.communication.connection.exception;
2   
3   import java.util.logging.Logger;
4   
5   import cz.cuni.amis.pogamut.base.communication.connection.IWorldConnection;
6   import cz.cuni.amis.pogamut.base.communication.exception.CommunicationException;
7   
8   /**
9    * Thrown when some pre-connect method is invoked and {@link IWorldConnection} is already connected. 
10   * @author Jimmy
11   *
12   */
13  public class AlreadyConnectedException extends CommunicationException {
14  	
15  	/**
16  	 * Constructs a new exception with the specified detail message.
17  	 * <p><p>
18  	 * Not logging anything anywhere on its own.
19  	 * 
20  	 * @param message
21  	 * @param log
22  	 * @param origin which object does produced the exception
23  	 */
24  	public AlreadyConnectedException(String message, Logger log, Object origin) {
25  		super(message, log, origin);
26  	}
27  
28  
29  }