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