Package com.couchbase.client.core.error
Class CollectionNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.couchbase.client.core.error.CouchbaseException
-
- com.couchbase.client.core.error.CollectionNotFoundException
-
- All Implemented Interfaces:
Serializable
@Volatile public class CollectionNotFoundException extends CouchbaseException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CollectionNotFoundException(String collectionName)
CollectionNotFoundException(String collectionName, ErrorContext errorContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
collectionName()
static CollectionNotFoundException
forCollection(String collectionName)
-
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
-
-
-
-
Constructor Detail
-
CollectionNotFoundException
public CollectionNotFoundException(String collectionName)
-
CollectionNotFoundException
public CollectionNotFoundException(String collectionName, ErrorContext errorContext)
-
-
Method Detail
-
forCollection
public static CollectionNotFoundException forCollection(String collectionName)
-
collectionName
public String collectionName()
-
-