Class TransportException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.infinispan.client.hotrod.exceptions.HotRodClientException
-
- org.infinispan.client.hotrod.exceptions.TransportException
-
- All Implemented Interfaces:
Serializable
public class TransportException extends HotRodClientException
Indicates a communication exception with the Hot Rod server: e.g. TCP connection is broken while reading a response from the server.- Since:
- 4.1
- Author:
- Mircea.Markus@jboss.com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransportException(String message, Throwable cause, SocketAddress serverAddress)
TransportException(String message, SocketAddress serverAddress)
TransportException(Throwable cause, SocketAddress serverAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketAddress
getServerAddress()
-
Methods inherited from class org.infinispan.client.hotrod.exceptions.HotRodClientException
isServerError, toString
-
-
-
-
Constructor Detail
-
TransportException
public TransportException(String message, SocketAddress serverAddress)
-
TransportException
public TransportException(String message, Throwable cause, SocketAddress serverAddress)
-
TransportException
public TransportException(Throwable cause, SocketAddress serverAddress)
-
-
Method Detail
-
getServerAddress
public SocketAddress getServerAddress()
-
-