Package org.apache.ignite.client
Class IgniteClientConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.ignite.lang.IgniteException
org.apache.ignite.client.IgniteClientConnectionException
- All Implemented Interfaces:
Serializable
,TraceableException
Indicates all the Ignite servers specified in the client configuration are no longer available.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIgniteClientConnectionException
(int code, String msg, @Nullable String endpoint) Constructs a new exception with the specified detail message.IgniteClientConnectionException
(int code, String msg, @Nullable String endpoint, @Nullable Throwable cause) Constructs a new exception with the specified cause and detail message.IgniteClientConnectionException
(UUID traceId, int code, String msg, @Nullable Throwable cause) Constructs a new exception with the specified cause and detail message. -
Method Summary
Methods inherited from class org.apache.ignite.lang.IgniteException
code, codeAsString, errorCode, groupCode, groupName, toString, traceId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
IgniteClientConnectionException
public IgniteClientConnectionException(UUID traceId, int code, String msg, @Nullable @Nullable Throwable cause) Constructs a new exception with the specified cause and detail message.- Parameters:
code
- the error code.msg
- the detail message.cause
- the cause.
-
IgniteClientConnectionException
public IgniteClientConnectionException(int code, String msg, @Nullable @Nullable String endpoint, @Nullable @Nullable Throwable cause) Constructs a new exception with the specified cause and detail message.- Parameters:
code
- the error code.msg
- the detail message.endpoint
- the endpoint.cause
- the cause.
-
IgniteClientConnectionException
Constructs a new exception with the specified detail message.- Parameters:
code
- the error code.msg
- the detail message.endpoint
- the endpoint.
-
-
Method Details
-
endpoint
Returns the endpoint that caused the exception.- Returns:
- the endpoint that caused the exception.
-