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