示例#1
0
 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
     });
 }
示例#2
0
 public static CouchbaseLiteException CreateExceptionAndLog(DomainLogger domain, StatusCode code, string tag, string message)
 {
     domain.E(tag, "{0}, throwing CouchbaseLiteException", message);
     return(new CouchbaseLiteException(message, code));
 }