The throw keyword is used to perform which two actions? (Choose two.)
A.
stop processing of the code
B.
move error handling to a separate thread
C.
raise exceptions
D.
re-throw exceptions as a different type
The throw keyword is used to perform which two actions? (Choose two.)
The throw keyword is used to perform which two actions? (Choose two.)
A.
stop processing of the code
B.
move error handling to a separate thread
C.
raise exceptions
D.
re-throw exceptions as a different type
A and C? any thoughts?
It’s wrong. The good answers are C & D.
Explanation: * The Throw statement throws an exception that you can handle with structured exception-handling code (Try…Catch…Finally) or unstructured exception- handling code (On Error GoTo). You can use the Throw statement to trap errors within your code because Visual Basic moves up the call stack until it finds the appropriate exception- handling code.
It seems that the correct answers are C and D.
https://msdn.microsoft.com/en-us/library/1ah5wsex.aspx
my understanding is C, D