171 references to vbErrors
Microsoft.VisualBasic.Core (171)
Microsoft\VisualBasic\CompilerServices\Conversions.vb (1)
1364
Throw VbMakeException(
vbErrors
.Overflow)
Microsoft\VisualBasic\CompilerServices\DecimalType.vb (1)
44
Throw VbMakeException(
vbErrors
.Overflow)
Microsoft\VisualBasic\CompilerServices\ExceptionUtils.vb (44)
176
Return VbMakeExceptionEx(
vbErrors
.IllegalFor, SR.Format(SR.ID92)) ' 92 - IllegaFor
180
Return VbMakeExceptionEx(
vbErrors
.ObjNotSet, SR.Format(SR.ID91)) ' 91 - ObjNotSet
187
sMsg = GetResourceString(CType(hr,
vbErrors
))
215
Case
vbErrors
.None
217
Case
vbErrors
.ReturnWOGoSub,
218
vbErrors
.ResumeWOErr,
219
vbErrors
.CantUseNull,
220
vbErrors
.DoesntImplementICollection
223
Case
vbErrors
.IllegalFuncCall,
224
vbErrors
.NamedParamNotFound,
225
vbErrors
.NamedArgsNotSupported,
226
vbErrors
.ParameterNotOptional
229
Case
vbErrors
.OLENoPropOrMethod
232
Case
vbErrors
.Overflow
235
Case
vbErrors
.OutOfMemory,
vbErrors
.OutOfStrSpace
238
Case
vbErrors
.OutOfBounds
241
Case
vbErrors
.DivByZero
244
Case
vbErrors
.TypeMismatch
247
Case
vbErrors
.OutOfStack
250
Case
vbErrors
.DLLLoadErr
253
Case
vbErrors
.FileNotFound
256
Case
vbErrors
.EndOfFile
259
Case
vbErrors
.IOError,
260
vbErrors
.BadFileNameOrNumber,
261
vbErrors
.BadFileMode,
262
vbErrors
.FileAlreadyOpen,
263
vbErrors
.FileAlreadyExists,
264
vbErrors
.BadRecordLen,
265
vbErrors
.DiskFull,
266
vbErrors
.BadRecordNum,
267
vbErrors
.TooManyFiles,
268
vbErrors
.DevUnavailable,
269
vbErrors
.PermissionDenied,
270
vbErrors
.DiskNotReady,
271
vbErrors
.DifferentDrive,
272
vbErrors
.PathFileAccess
275
Case
vbErrors
.PathNotFound,
276
vbErrors
.OLEFileNotFound
279
Case
vbErrors
.ObjNotSet
282
Case
vbErrors
.PropertyNotFound
285
Case
vbErrors
.CantCreateObject,
286
vbErrors
.ServerNotFound
289
Case
vbErrors
.AccessViolation
Microsoft\VisualBasic\CompilerServices\IOUtils.vb (1)
69
Throw VbMakeException(
vbErrors
.BadFileNameOrNumber)
Microsoft\VisualBasic\CompilerServices\LateBinding.vb (5)
77
Throw VbMakeException(
vbErrors
.ObjNotSet)
276
Throw VbMakeException(
vbErrors
.ObjNotSet)
502
Throw VbMakeException(
vbErrors
.ObjNotSet)
738
Throw VbMakeException(
vbErrors
.ObjNotSet)
960
Throw VbMakeException(
vbErrors
.ObjNotSet)
Microsoft\VisualBasic\CompilerServices\StringType.vb (2)
335
Throw VbMakeException(
vbErrors
.BadPatStr)
517
Throw VbMakeException(
vbErrors
.BadPatStr)
Microsoft\VisualBasic\CompilerServices\StructUtils.vb (7)
53
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, FieldInfo.Name, FieldType.Name)),
vbErrors
.IllegalFuncCall)
82
Throw VbMakeException(
vbErrors
.IllegalFuncCall)
124
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "Empty")),
vbErrors
.IllegalFuncCall)
244
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "DBNull")),
vbErrors
.IllegalFuncCall)
248
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "Exception")),
vbErrors
.IllegalFuncCall)
250
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "Missing")),
vbErrors
.IllegalFuncCall)
255
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "Object")),
vbErrors
.IllegalFuncCall)
Microsoft\VisualBasic\CompilerServices\Utils.LateBinder.vb (1)
57
Friend Shared Function GetResourceString(ByVal ResourceId As
vbErrors
) As String
Microsoft\VisualBasic\CompilerServices\VB6BinaryFile.vb (1)
91
Throw VbMakeException(
vbErrors
.BadRecordNum)
Microsoft\VisualBasic\CompilerServices\VB6File.vb (80)
113
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "Empty")),
vbErrors
.IllegalFuncCall)
200
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "DBNull")),
vbErrors
.IllegalFuncCall)
205
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "Exception")),
vbErrors
.IllegalFuncCall)
207
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "Missing")),
vbErrors
.IllegalFuncCall)
209
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, FieldType.Name)),
vbErrors
.IllegalFuncCall)
237
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "Empty")),
vbErrors
.IllegalFuncCall)
303
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "DBNull")),
vbErrors
.IllegalFuncCall)
309
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "Exception")),
vbErrors
.IllegalFuncCall)
311
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, "Missing")),
vbErrors
.IllegalFuncCall)
313
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedFieldType2, field_info.Name, FieldType.Name)),
vbErrors
.IllegalFuncCall)
411
Throw VbMakeException(
vbErrors
.FileNotFound)
460
Throw VbMakeException(
vbErrors
.IllegalFuncCall)
470
Throw VbMakeException(
vbErrors
.BadFileMode)
474
Throw VbMakeException(
vbErrors
.BadFileMode)
491
Throw VbMakeException(
vbErrors
.InternalError)
559
Throw VbMakeException(
vbErrors
.BadRecordNum)
687
Throw VbMakeException(
vbErrors
.BadFileMode)
753
Throw VbMakeException(
vbErrors
.EndOfFile)
756
Throw VbMakeException(
vbErrors
.BadFileMode)
861
Throw VbMakeException(
vbErrors
.BadFileMode)
989
Throw VbMakeException(
vbErrors
.InvalidTypeLibVariable)
1005
Throw VbMakeException(
vbErrors
.BadRecordLen)
1008
Throw VbMakeException(
vbErrors
.BadRecordLen)
1371
Throw VbMakeException(
vbErrors
.IllegalFuncCall)
1412
Throw VbMakeException(
vbErrors
.InvalidTypeLibVariable)
1672
Throw VbMakeException(
vbErrors
.IllegalFuncCall)
1828
Throw VbMakeException(
vbErrors
.TypeMismatch)
1884
Throw VbMakeException(New ArgumentException(SR.FileIO_StringLengthExceeded),
vbErrors
.IllegalFuncCall)
1918
Throw VbMakeException(
vbErrors
.TypeMismatch)
1920
Throw VbMakeException(
vbErrors
.InvalidTypeLibVariable)
1926
Throw VbMakeException(
vbErrors
.TypeMismatch)
1930
Throw VbMakeException(
vbErrors
.InvalidTypeLibVariable)
2046
Throw VbMakeException(
vbErrors
.InvalidTypeLibVariable)
2052
Throw VbMakeException(
vbErrors
.TypeMismatch)
2056
Throw VbMakeException(
vbErrors
.InvalidTypeLibVariable)
2298
Throw VbMakeException(
vbErrors
.IllegalFuncCall)
2354
Throw VbMakeException(
vbErrors
.BadRecordNum)
2360
Throw VbMakeException(
vbErrors
.BadFileMode)
2365
Throw VbMakeException(
vbErrors
.BadFileMode)
2372
Throw VbMakeException(
vbErrors
.BadFileMode)
2376
Throw VbMakeException(
vbErrors
.BadFileMode)
2380
Throw VbMakeException(
vbErrors
.BadFileMode)
2384
Throw VbMakeException(
vbErrors
.BadFileMode)
2388
Throw VbMakeException(
vbErrors
.BadFileMode)
2392
Throw VbMakeException(
vbErrors
.BadFileMode)
2396
Throw VbMakeException(
vbErrors
.BadFileMode)
2400
Throw VbMakeException(
vbErrors
.BadFileMode)
2404
Throw VbMakeException(
vbErrors
.BadFileMode)
2408
Throw VbMakeException(
vbErrors
.BadFileMode)
2412
Throw VbMakeException(
vbErrors
.BadFileMode)
2416
Throw VbMakeException(
vbErrors
.BadFileMode)
2421
Throw VbMakeException(
vbErrors
.BadFileMode)
2425
Throw VbMakeException(
vbErrors
.BadFileMode)
2430
Throw VbMakeException(
vbErrors
.BadFileMode)
2437
Throw VbMakeException(
vbErrors
.BadFileMode)
2441
Throw VbMakeException(
vbErrors
.BadFileMode)
2445
Throw VbMakeException(
vbErrors
.BadFileMode)
2449
Throw VbMakeException(
vbErrors
.BadFileMode)
2453
Throw VbMakeException(
vbErrors
.BadFileMode)
2457
Throw VbMakeException(
vbErrors
.BadFileMode)
2461
Throw VbMakeException(
vbErrors
.BadFileMode)
2465
Throw VbMakeException(
vbErrors
.BadFileMode)
2469
Throw VbMakeException(
vbErrors
.BadFileMode)
2473
Throw VbMakeException(
vbErrors
.BadFileMode)
2477
Throw VbMakeException(
vbErrors
.BadFileMode)
2481
Throw VbMakeException(
vbErrors
.BadFileMode)
2489
Throw VbMakeException(
vbErrors
.BadFileMode)
2493
Throw VbMakeException(
vbErrors
.BadFileMode)
2497
Throw VbMakeException(
vbErrors
.BadFileMode)
2501
Throw VbMakeException(
vbErrors
.BadFileMode)
2505
Throw VbMakeException(
vbErrors
.BadFileMode)
2509
Throw VbMakeException(
vbErrors
.BadFileMode)
2513
Throw VbMakeException(
vbErrors
.BadFileMode)
2517
Throw VbMakeException(
vbErrors
.BadFileMode)
2521
Throw VbMakeException(
vbErrors
.BadFileMode)
2525
Throw VbMakeException(
vbErrors
.BadFileMode)
2529
Throw VbMakeException(
vbErrors
.BadFileMode)
2533
Throw VbMakeException(
vbErrors
.BadFileMode)
2572
Throw VbMakeException(
vbErrors
.IllegalFuncCall)
2595
Throw VbMakeException(
vbErrors
.EndOfFile)
Microsoft\VisualBasic\CompilerServices\VB6InputFile.vb (5)
37
Throw VbMakeException(ex,
vbErrors
.FileNotFound)
39
Throw VbMakeException(
vbErrors
.FileNotFound)
41
Throw VbMakeException(ex,
vbErrors
.PathNotFound)
43
Throw VbMakeException(ex,
vbErrors
.PathFileAccess)
49
Throw VbMakeException(ex,
vbErrors
.PathNotFound)
Microsoft\VisualBasic\CompilerServices\VB6OutputFile.vb (4)
51
Throw VbMakeException(ex,
vbErrors
.FileNotFound)
53
Throw VbMakeException(ex,
vbErrors
.FileNotFound)
55
Throw VbMakeException(ex,
vbErrors
.PathNotFound)
57
Throw VbMakeException(ex,
vbErrors
.PathFileAccess)
Microsoft\VisualBasic\CompilerServices\VB6RandomFile.vb (17)
37
Throw VbMakeException(ex,
vbErrors
.FileNotFound)
39
Throw VbMakeException(ex,
vbErrors
.PathNotFound)
41
Throw VbMakeException(ex,
vbErrors
.FileNotFound)
43
Throw VbMakeException(ex,
vbErrors
.PathFileAccess)
45
Throw VbMakeException(ex,
vbErrors
.PathFileAccess)
47
Throw VbMakeException(ex,
vbErrors
.PathFileAccess)
53
Throw VbMakeException(
vbErrors
.InternalError)
173
Throw VbMakeException(
vbErrors
.InternalError)
280
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedIOType1, "DBNull")),
vbErrors
.IllegalFuncCall)
284
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedIOType1, "Currency")),
vbErrors
.IllegalFuncCall)
286
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedIOType1, typ.FullName)),
vbErrors
.IllegalFuncCall)
448
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedIOType1, "Empty")),
vbErrors
.IllegalFuncCall)
497
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedIOType1, "Missing")),
vbErrors
.IllegalFuncCall)
503
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_PutObjectOfValueType1, VBFriendlyName(typ, Value))),
vbErrors
.IllegalFuncCall)
506
Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_UnsupportedIOType1, VBFriendlyName(typ, Value))),
vbErrors
.IllegalFuncCall)
610
Throw VbMakeExceptionEx(
vbErrors
.PathFileAccess, SR.FileOpenedNoWrite)
616
Throw VbMakeExceptionEx(
vbErrors
.PathFileAccess, SR.FileOpenedNoRead)
Microsoft\VisualBasic\CompilerServices\VBBinder.vb (2)
167
Throw VbMakeException(
vbErrors
.OLENoPropOrMethod)
304
Throw VbMakeExceptionEx(
vbErrors
.NamedArgsNotSupported, SR.NamedArgumentOnParamArray)