Class UnsupportedVersionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.infinispan.upgrade.UnsupportedVersionException
- All Implemented Interfaces:
Serializable
Exception thrown when an action is attempted before all members of the cluster support it.
This can happen during a rolling upgrade of the cluster, e.g. when a new command is first introduced. The Exception will
continue to be thrown until all cluster cluster members have a
NodeVersion
greater
or equal to VersionAware.supportedSince()
value.
If the unsupported functionality is required, then an appropriate backup/retry policy should be implemented to retry to the command when the cluster is ready. For new endpoint functionality, e.g. a new REST URI or RESP command, then an appropriate failure response should be transmitted to the user indicating this failure is temporary.
- Since:
- 16.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedVersionException
-