Package io.tarantool.driver.exceptions
Class TarantoolSocketException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.tarantool.driver.exceptions.TarantoolException
-
- io.tarantool.driver.exceptions.TarantoolClientException
-
- io.tarantool.driver.exceptions.TarantoolSocketException
-
- All Implemented Interfaces:
Serializable
public class TarantoolSocketException extends TarantoolClientException
Represent network exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TarantoolSocketException(String message, TarantoolServerAddress tarantoolServerAddress)
TarantoolSocketException(String message, TarantoolServerAddress tarantoolServerAddress, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TarantoolServerAddress
getTarantoolServerAddress()
GetTarantoolServerAddress
for this exception-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TarantoolSocketException
public TarantoolSocketException(String message, TarantoolServerAddress tarantoolServerAddress, Throwable cause)
- Parameters:
message
- the messagetarantoolServerAddress
- the addresscause
- the cause
-
TarantoolSocketException
public TarantoolSocketException(String message, TarantoolServerAddress tarantoolServerAddress)
- Parameters:
message
- the messagetarantoolServerAddress
- the cause
-
-
Method Detail
-
getTarantoolServerAddress
public TarantoolServerAddress getTarantoolServerAddress()
GetTarantoolServerAddress
for this exception- Returns:
- the address
-
-