Class UnsupportedCouchbaseFeatureException

All Implemented Interfaces:
Serializable

public class UnsupportedCouchbaseFeatureException extends InvalidDataAccessApiUsageException
A NonTransientDataAccessException that denotes that a particular feature is expected on the server side but is not available.
See Also:
  • Constructor Details

    • UnsupportedCouchbaseFeatureException

      public UnsupportedCouchbaseFeatureException(String msg, com.couchbase.client.core.service.ServiceType feature)
    • UnsupportedCouchbaseFeatureException

      public UnsupportedCouchbaseFeatureException(String msg, com.couchbase.client.core.service.ServiceType feature, Throwable cause)
  • Method Details

    • getFeature

      public com.couchbase.client.core.service.ServiceType getFeature()
      Returns:
      the ServiceType that was missing (could be null if not a registered CouchbaseFeature, in which case see Throwable.getMessage()).