Package com.couchbase.client.core.error
Class HttpStatusCodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.couchbase.client.core.error.HttpStatusCodeException
- All Implemented Interfaces:
Serializable
@Internal public class HttpStatusCodeException extends RuntimeException
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description HttpStatusCodeException(int code)
HttpStatusCodeException(com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpResponseStatus status)
-
Method Summary
Modifier and Type Method Description int
code()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpStatusCodeException
public HttpStatusCodeException(int code) -
HttpStatusCodeException
public HttpStatusCodeException(com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpResponseStatus status)
-
-
Method Details
-
code
public int code()
-