Class RemoteIllegalLifecycleStateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.infinispan.client.hotrod.exceptions.HotRodClientException
-
- org.infinispan.client.hotrod.exceptions.RemoteIllegalLifecycleStateException
-
- All Implemented Interfaces:
Serializable
public class RemoteIllegalLifecycleStateException extends HotRodClientException
This exception is thrown when the remote cache or cache manager does not have the right lifecycle state for operations to be called on it. Situations like this include when the cache is stopping or is stopped, when the cache manager is stopped...etc.- Since:
- 7.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoteIllegalLifecycleStateException(String msgFromServer, long messageId, short status)
Deprecated.RemoteIllegalLifecycleStateException(String msgFromServer, long messageId, short status, 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
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
RemoteIllegalLifecycleStateException
@Deprecated public RemoteIllegalLifecycleStateException(String msgFromServer, long messageId, short status)
Deprecated.
-
RemoteIllegalLifecycleStateException
public RemoteIllegalLifecycleStateException(String msgFromServer, long messageId, short status, SocketAddress serverAddress)
-
-
Method Detail
-
getServerAddress
public SocketAddress getServerAddress()
-
-