Package com.couchbase.client.core
Class CouchbaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.couchbase.client.core.CouchbaseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthenticationException
,BackpressureException
,BucketClosedException
,ConfigurationException
,DocumentConcurrentlyModifiedException
,DocumentMutationLostException
,EnvironmentException
,NotConnectedException
,ReplicaNotAvailableException
,ReplicaNotConfiguredException
,RequestCancelledException
,ServiceNotAvailableException
,SSLException
public class CouchbaseException extends RuntimeException
Common parent exception to build a proper exception hierachy inside the driver.
- Since:
- 1.0
- Author:
- Michael Nitschinger
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description CouchbaseException()
CouchbaseException(String message)
CouchbaseException(String message, Throwable cause)
CouchbaseException(Throwable cause)
-
Method Summary
Modifier and Type Method Description ResponseStatusDetails
details()
void
details(ResponseStatusDetails responseStatusDetails)
String
getMessage()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CouchbaseException
public CouchbaseException() -
CouchbaseException
-
CouchbaseException
-
CouchbaseException
-
-
Method Details
-
details
-
details
-
getMessage
- Overrides:
getMessage
in classThrowable
-