Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Throw statements outside of Catch statement must supply the name of an exception object.
Error ID: BC30666
To correct this error
Specify the name of an exception object derived from System.Exception.
Restructure your code so that the Throw statement is inside a Catch block.
See Also
Concepts
Exception Class in Visual Basic
Reference
Throw Statement (Visual Basic)
Try...Catch...Finally Statement (Visual Basic)