Class UnsupportedCouchbaseFeatureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.InvalidDataAccessApiUsageException
org.springframework.data.couchbase.core.UnsupportedCouchbaseFeatureException
- All Implemented Interfaces:
Serializable
A
NonTransientDataAccessException
that denotes that a particular feature is expected on the server side but
is not available.- See Also:
-
Constructor Summary
ConstructorDescriptionUnsupportedCouchbaseFeatureException
(String msg, com.couchbase.client.core.service.ServiceType feature) UnsupportedCouchbaseFeatureException
(String msg, com.couchbase.client.core.service.ServiceType feature, Throwable cause) -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedCouchbaseFeatureException
public UnsupportedCouchbaseFeatureException(String msg, com.couchbase.client.core.service.ServiceType feature) -
UnsupportedCouchbaseFeatureException
-
-
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 seeThrowable.getMessage()
).
-