Package com.couchbase.client.core.error
Class CollectionsNotAvailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.couchbase.client.core.error.CouchbaseException
-
- com.couchbase.client.core.error.CollectionsNotAvailableException
-
- All Implemented Interfaces:
Serializable
public class CollectionsNotAvailableException extends CouchbaseException
This exception is raised when collections are not available on the connected cluster, likely because a version is used that does not support them.Make sure to distinguish this exception from
CollectionDoesNotExistException
which is raised if collections are available, but the specific request collection does not exist.- Since:
- 2.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CollectionsNotAvailableException()
CollectionsNotAvailableException(String message)
CollectionsNotAvailableException(String message, Throwable cause)
CollectionsNotAvailableException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
CollectionsNotAvailableException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CollectionsNotAvailableException
public CollectionsNotAvailableException()
-
CollectionsNotAvailableException
public CollectionsNotAvailableException(String message)
-
CollectionsNotAvailableException
public CollectionsNotAvailableException(String message, Throwable cause)
-
CollectionsNotAvailableException
public CollectionsNotAvailableException(Throwable cause)
-
-