View Javadoc

1   package org.sourceforge.jemm.comm.connection;
2   
3   /**
4    * A generic connection exception.
5    *  
6    * <i><P>Released under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache License V2.0 license</a> 
7    * by the <a href="http://jemm.sourceforge.net">JEMM Project</a></i>
8    *
9    * @author Rory Graves
10   */
11  public class ConnectionException extends Exception {
12  	private static final long serialVersionUID = 1L;
13  
14  	/** Creates a ConnectionException with the given message.
15  	 * @param message The user message.
16  	 */
17  	public ConnectionException(String message) {
18  	    super(message);
19  	}
20  	
21  	/** Creates a ConnectionException with the given message and underlying cause
22  	 * @param message The user message.
23  	 * @param cause The underlying cause
24  	 */
25  	public ConnectionException(String message,Throwable cause) {
26  		super(message,cause);		
27  	}
28  }