private static string ConvertExceptionCodeToMessage(RdbExceptionCode ex) { return(ex.ToString()); }
public RdbException(RdbExceptionCode databaseConnectionOpenFail, Exception innerException) : base(ConvertExceptionCodeToMessage(databaseConnectionOpenFail), innerException) { DatabaseConnectionOpenFail = databaseConnectionOpenFail; }