Package com.couchbase.client.core.error
Class FeatureNotAvailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.couchbase.client.core.error.CouchbaseException
-
- com.couchbase.client.core.error.FeatureNotAvailableException
-
- All Implemented Interfaces:
Serializable
public class FeatureNotAvailableException extends CouchbaseException
Exception which states that the feature is not available for the bucket.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FeatureNotAvailableException(String message)
FeatureNotAvailableException(String message, Throwable cause)
FeatureNotAvailableException(Throwable cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FeatureNotAvailableException
clusterLevelQuery(ServiceType serviceType)
static FeatureNotAvailableException
collections()
static FeatureNotAvailableException
collectionsForMemcached()
static FeatureNotAvailableException
communityEdition(String feature)
static FeatureNotAvailableException
queryPreserveExpiry()
static FeatureNotAvailableException
scopeLevelQuery(ServiceType serviceType)
-
Methods inherited from class com.couchbase.client.core.error.CouchbaseException
context, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
clusterLevelQuery
public static FeatureNotAvailableException clusterLevelQuery(ServiceType serviceType)
-
scopeLevelQuery
public static FeatureNotAvailableException scopeLevelQuery(ServiceType serviceType)
-
queryPreserveExpiry
public static FeatureNotAvailableException queryPreserveExpiry()
-
collections
public static FeatureNotAvailableException collections()
-
collectionsForMemcached
public static FeatureNotAvailableException collectionsForMemcached()
-
communityEdition
public static FeatureNotAvailableException communityEdition(String feature)
-
-