KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > remoting > CannotConnectException


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.remoting;
8
9 /**
10  * This exception is generated when the remoting layer cannot connect to the remote server
11  * It means that the client cannot send the request to the server.
12  * <p/>
13  * Clustering layers can rely this exception to failover.
14  *
15  * @author <a HREF="mailto:bill@jboss.org">Bill Burke</a>
16  * @version $Revision: 1.1.1.1 $
17  */

18 public class CannotConnectException extends RuntimeException JavaDoc
19 {
20    public CannotConnectException()
21    {
22    }
23
24    public CannotConnectException(String JavaDoc message)
25    {
26       super(message);
27    }
28
29    public CannotConnectException(String JavaDoc message, Throwable JavaDoc cause)
30    {
31       super(message, cause);
32    }
33
34    public CannotConnectException(Throwable JavaDoc cause)
35    {
36       super(cause);
37    }
38 }
39
Popular Tags