/** * Exceptions that are thrown when the network just doesn't cooperate. * * @author Samuel A. Rebelsky * @version 1.0 of October 1999 */ public class ConnectionException extends Exception { /** Sorry, the network sucks. **/ public ConnectionException() { super(); } // ConnectionException() /** The network sucks because .... */ public ConnectionException(String reason) { super(reason); } // ConnectionException(String) } // class ConnectionException