Class CacheNotTransactionalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.infinispan.client.hotrod.exceptions.HotRodClientException
org.infinispan.client.hotrod.exceptions.CacheNotTransactionalException
- All Implemented Interfaces:
Serializable
When try to create a transactional
org.infinispan.client.hotrod.RemoteCache
but the cache in the Hot Rod
server isn't transactional, this exception is thrown.
Check if the cache is properly configured in the server configuration.- Since:
- 10.0
- Author:
- Pedro Ruivo
- See Also:
-
Constructor Summary
ConstructorDescriptionCacheNotTransactionalException
(String message) CacheNotTransactionalException
(String remoteMessage, long messageId, int errorStatusCode) CacheNotTransactionalException
(String message, Throwable cause) -
Method Summary
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 Details
-
CacheNotTransactionalException
public CacheNotTransactionalException() -
CacheNotTransactionalException
-
CacheNotTransactionalException
-
CacheNotTransactionalException
-
CacheNotTransactionalException
-