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.
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:
if (denominator == 0) {
throw new DivideByZeroException();
}
You cannot split these two components up.
To correct this error
- Make sure that the
throwkeyword and the expression to be thrown appears on the same line.
See also
Error Object
throw Statement
try...catch...finally Statement