code: public static void throwException(int domain, int code, String msg) throws LiteCoreException {
          throw new LiteCoreException(domain, code, msg);
      }
docs: NOTE called to throw LiteCoreException from native code to Java