27 references to SqlTypeException
System.Data.Common (27)
System\Data\SQLTypes\SQLBytes.cs (11)
172
throw new
SqlTypeException
(SR.SqlMisc_BufferInsufficientMessage);
267
throw new
SqlTypeException
(SR.SqlMisc_NoBufferMessage);
345
throw new
SqlTypeException
(SR.SqlMisc_NoBufferMessage);
350
throw new
SqlTypeException
(SR.SqlMisc_BufferInsufficientMessage);
353
throw new
SqlTypeException
(SR.SqlMisc_BufferInsufficientMessage);
374
throw new
SqlTypeException
(SR.SqlMisc_NoBufferMessage);
378
throw new
SqlTypeException
(SR.SqlMisc_BufferInsufficientMessage);
387
throw new
SqlTypeException
(SR.SqlMisc_BufferInsufficientMessage);
403
throw new
SqlTypeException
(SR.SqlMisc_WriteNonZeroOffsetOnNullMessage);
417
throw new
SqlTypeException
(SR.SqlMisc_WriteOffsetLargerThanLenMessage);
482
throw new
SqlTypeException
(SR.SqlMisc_WriteOffsetLargerThanLenMessage);
System\Data\SQLTypes\SQLChars.cs (8)
172
throw new
SqlTypeException
(SR.SqlMisc_BufferInsufficientMessage);
272
throw new
SqlTypeException
(SR.SqlMisc_NoBufferMessage);
344
throw new
SqlTypeException
(SR.SqlMisc_NoBufferMessage);
349
throw new
SqlTypeException
(SR.SqlMisc_BufferInsufficientMessage);
358
throw new
SqlTypeException
(SR.SqlMisc_BufferInsufficientMessage);
366
throw new
SqlTypeException
(SR.SqlMisc_WriteNonZeroOffsetOnNullMessage);
380
throw new
SqlTypeException
(SR.SqlMisc_WriteOffsetLargerThanLenMessage);
454
throw new
SqlTypeException
(SR.SqlMisc_BufferInsufficientMessage);
System\Data\SQLTypes\SQLDateTime.cs (3)
136
throw new
SqlTypeException
(SQLResource.InvalidDateTimeMessage);
226
throw new
SqlTypeException
(SQLResource.DateTimeOverflowMessage);
650
throw new
SqlTypeException
(SQLResource.TimeZoneSpecifiedMessage);
System\Data\SQLTypes\SQLDecimal.cs (2)
2853
throw new
SqlTypeException
(SQLResource.InvalidPrecScaleMessage);
2859
throw new
SqlTypeException
(SQLResource.InvalidPrecScaleMessage);
System\Data\SQLTypes\SQLString.cs (2)
356
throw new
SqlTypeException
(SQLResource.ConcatDiffCollationMessage);
372
throw new
SqlTypeException
(SQLResource.CompareDiffCollationMessage);
System\Data\SQLTypes\SQLUtility.cs (1)
57
SqlTypeException fakeValue = new
SqlTypeException
(message);