Jump to content

Exceptions/Catch an exception thrown in a nested call: Difference between revisions

m
{{Task|Control Structures}}
m ({{Task|Control Structures}})
Line 1:
{{Task|Control Structures}}
{{task}}
{{omit from|C}}
{{omit from|GUISS}}
Line 13:
# Arrange for function baz to raise, or throw exception U0 on its first call, then exception U1 on its second.
# Function foo should catch only exception U0, not U1.
 
Show/describe what happens when the program is run.
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.