Class UnsupportedVersionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.infinispan.upgrade.UnsupportedVersionException
All Implemented Interfaces:
Serializable

public class UnsupportedVersionException extends RuntimeException
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 Details

    • UnsupportedVersionException

      public UnsupportedVersionException(String message)