Package com.couchbase.lite
Class LiteCoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.couchbase.lite.LiteCoreException
- All Implemented Interfaces:
Serializable
Internal error in native code.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
int
static void
throwException
(int domain, int code, String msg) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
domain
public final int domain -
code
public final int code
-
-
Constructor Details
-
LiteCoreException
-
-
Method Details
-
throwException
public static void throwException(int domain, int code, @Nullable String msg) throws LiteCoreException - Throws:
LiteCoreException
-
getDomain
public int getDomain() -
getCode
public int getCode() -
getMessage
- Overrides:
getMessage
in classThrowable
-