Class LiteCoreException

  • All Implemented Interfaces:
    java.io.Serializable

    public class LiteCoreException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int code  
      int domain  
    • 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()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • domain

        public final int domain
      • code

        public final int code
    • Constructor Detail

      • LiteCoreException

        public LiteCoreException​(int domain,
                                 int code,
                                 @Nullable
                                 java.lang.String message)
    • Method Detail

      • getDomain

        public int getDomain()
      • getCode

        public int getCode()
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable