You used the throw keyword, but did not follow it with an expression on the same source line. A throw statement consists of two parts: the throw keyword, followed by the expression to be thrown. For example:

 CopyCode imageCopy Code
if (denominator == 0) {
 throw new DivideByZeroException();
}

You cannot split these two components up.

To correct this error

  • Make sure that the throw keyword and the expression to be thrown appears on the same line.

See Also

In Vbsedit, you only need to press F1 to get Help for the keyword under the cursor!


Download Now!



Download   Home  

Copyright © 2001-2024 adersοft