Package com.couchbase.lite
Class LiteCoreException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.couchbase.lite.LiteCoreException
-
- All Implemented Interfaces:
java.io.Serializable
public class LiteCoreException extends java.lang.Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LiteCoreException(int domain, int code, java.lang.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, java.lang.String msg)
java.lang.String
toString()
-
-
-
Method Detail
-
throwException
public static void throwException(int domain, int code, @Nullable java.lang.String msg) throws LiteCoreException
- Throws:
LiteCoreException
-
getDomain
public int getDomain()
-
getCode
public int getCode()
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
-
-