Package com.couchbase.lite
Class LiteCoreException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.couchbase.lite.LiteCoreException
-
- All Implemented Interfaces:
Serializable
public class LiteCoreException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LiteCoreException(int domain, int code, String message)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
int
getDomain()
static void
throwException(int domain, int code, String msg)
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
LiteCoreException
public LiteCoreException(int domain, int code, @Nullable String message)
-
-
Method Detail
-
throwException
public static void throwException(int domain, int code, @Nullable String msg) throws LiteCoreException
- Throws:
LiteCoreException
-
getDomain
public int getDomain()
-
getCode
public int getCode()
-
-