public DatabaseServerInformationFault(DatabaseServerInformationFaultType code, Exception ex) : this()
 {
     this.m_errorCode  = code;
     this.m_type       = ex.GetType().FullName;
     this.m_message    = ex.Message;
     this.m_stackTrace = ex.StackTrace;
 }
Esempio n. 2
0
 // Token: 0x0600214A RID: 8522 RVA: 0x0009A14C File Offset: 0x0009834C
 private static void HandleException(DatabaseServerInformationFaultType code, Exception ex)
 {
     ServerLocatorManager.Instance.Counters.RecordOneWCFCallError();
     ReplayEventLogConstants.Tuple_ServerLocatorServiceGetAllError.LogEvent(null, new object[]
     {
         ex.Message
     });
     throw new FaultException <DatabaseServerInformationFault>(new DatabaseServerInformationFault(code, ex));
 }
Esempio n. 3
0
 // Token: 0x06002149 RID: 8521 RVA: 0x0009A0EC File Offset: 0x000982EC
 private static void HandleException(DatabaseServerInformationFaultType code, Exception ex, Guid databaseGuid)
 {
     ServerLocatorManager.Instance.Counters.RecordOneWCFCallError();
     ReplayEventLogConstants.Tuple_ServerLocatorServiceServerForDatabaseNotFoundError.LogEvent(databaseGuid.ToString(), new object[]
     {
         databaseGuid.ToString(),
         ex.Message
     });
     throw new FaultException <DatabaseServerInformationFault>(new DatabaseServerInformationFault(code, ex));
 }