public static CouchbaseLiteException CreateExceptionAndLog(DomainLogger domain, StatusCode code, string tag, string format, params object[] args) { var message = String.Format(format, args); return(CreateExceptionAndLog(domain, code, tag, message)); }
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, Exception inner, string tag, string message) { return(CreateExceptionAndLog(domain, inner, StatusCode.Exception, tag, message)); }
public static CouchbaseLiteException CreateExceptionAndLog(DomainLogger domain, StatusCode code, string tag, string message) { domain.E(tag, "{0}, throwing CouchbaseLiteException", message); return(new CouchbaseLiteException(message, code)); }