public RpcErrorExceptionInfo RunRpcServerOperation(string databaseName, RpcServerOperation rpcOperation) { RpcErrorExceptionInfo result = new RpcErrorExceptionInfo(); try { try { rpcOperation(); } catch (MapiRetryableException ex) { result = this.ConvertExceptionToErrorExceptionInfo(databaseName, ex); } catch (MapiPermanentException ex2) { result = this.ConvertExceptionToErrorExceptionInfo(databaseName, ex2); } catch (TBaseTransientException ex3) { TBaseTransientException ex4 = (TBaseTransientException)((object)ex3); result = this.ConvertExceptionToErrorExceptionInfo(databaseName, ex4); } catch (TBaseException ex5) { TBaseException ex6 = (TBaseException)((object)ex5); result = this.ConvertExceptionToErrorExceptionInfo(databaseName, ex6); } catch (TransientException ex7) { result = this.ConvertExceptionToErrorExceptionInfo(databaseName, ex7); } catch (Exception ex8) { if (this.IsKnownException(ex8)) { result = this.ConvertExceptionToErrorExceptionInfo(databaseName, ex8); } else { ExWatson.SendReportAndCrashOnAnotherThread(ex8); } } } catch (Exception exception) { ExWatson.SendReportAndCrashOnAnotherThread(exception); } return(result); }
public new RpcErrorExceptionInfo RunRpcServerOperation(string databaseName, RpcServerOperation rpcOperation) { throw new NotImplementedException(); }
public new RpcErrorExceptionInfo RunRpcServerOperation(RpcServerOperation rpcOperation) { throw new NotImplementedException(); }
public RpcErrorExceptionInfo RunRpcServerOperation(RpcServerOperation rpcOperation) { return(this.RunRpcServerOperation(null, rpcOperation)); }