public static CouchbaseLiteException CreateExceptionAndLog(DomainLogger domain, Exception inner, StatusCode code, string tag, string message) { domain.E(tag, String.Format("{0}, throwing CouchbaseLiteException", message), inner); return(new CouchbaseLiteException(message, inner) { Code = code }); }
public static CouchbaseLiteException CreateExceptionAndLog(DomainLogger domain, StatusCode code, string tag, string message) { domain.E(tag, "{0}, throwing CouchbaseLiteException", message); return(new CouchbaseLiteException(message, code)); }