6 instantiations of OleDbException
System.Data.OleDb (6)
OleDb_Util.cs (2)
184e = new OleDbException(SR.Format(SR.OleDb_NoErrorInformation2, provider, ODB.ELookup(hr)), hr, inner); 188e = new OleDbException(SR.Format(SR.OleDb_NoErrorInformation, ODB.ELookup(hr)), hr, inner);
OleDbCommand.cs (2)
747nextResultsFailure = new OleDbException(nextResultsFailure, e); 775nextResultsFailure = new OleDbException(nextResultsFailure, e);
OleDbException.cs (2)
101return new OleDbException(message, inner, source, errorCode, errors); 118return new OleDbException(builder.ToString(), null, exceptions[0].Source, (OleDbHResult)exceptions[0].ErrorCode, errors);
22 references to OleDbException
System.Data (1)
src\runtime\src\libraries\shims\System.Data\ref\System.Data.cs (1)
160[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.OleDb.OleDbException))]
System.Data.OleDb (21)
OleDb_Util.cs (2)
179internal static OleDbException NoErrorInformation(string? provider, OleDbHResult hr, Exception? inner) 181OleDbException e;
OleDbCommand.cs (1)
630OleDbException? nextResultsFailure = null;
OleDbConnection.cs (3)
500OleDbException exception = OleDbException.CreateException(errorInfo, errorCode, null); 601e = OleDbException.CreateException(errorInfo, hresult, null);
OleDbConnectionStringBuilder.cs (1)
520catch (System.Data.OleDb.OleDbException e)
OleDbDataReader.cs (7)
680OleDbException? nextResultsFailure = NextResults(multipleResults, null, cmd, out affected); 1221internal static OleDbException? NextResults(UnsafeNativeMethods.IMultipleResults? imultipleResults, OleDbConnection? connection, OleDbCommand command, out IntPtr recordsAffected) 1224List<OleDbException>? exceptions = null; 1252OleDbException? excep = (e as OleDbException); 1257exceptions = new List<OleDbException>(); 1288return OleDbException.CombineExceptions(exceptions);
OleDbException.cs (5)
24internal OleDbException(OleDbException previous, Exception? inner) : base(previous.Message, inner) 68internal static OleDbException CreateException(UnsafeNativeMethods.IErrorInfo errorInfo, OleDbHResult errorCode, Exception? inner) 104internal static OleDbException CombineExceptions(List<OleDbException> exceptions) 112foreach (OleDbException exception in exceptions)
OleDbInfoMessageEvent.cs (2)
10private readonly OleDbException exception; 12internal OleDbInfoMessageEventArgs(OleDbException exception)