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
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
details
@Public @Experimental public ResponseStatusDetails details()
-
details
@Private @Experimental public void details(ResponseStatusDetails responseStatusDetails)
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-