- Inheritance 3:35
- Inheritance in Code 5:27
- Inheritance 5 questions
- Inheritance 1 objective
- Catching Exceptions in C#
- Throwing Exceptions 4:49
- Throwing Exceptions 1 objective
- Catching Exceptions 1 objective
- Exception Messages 3:02
- Custom Exceptions 6:23
- Custom Exceptions 2 objectives
- Catching Exceptions 5:02
- Catching Exceptions 6 questions
Quiz Question 1 of 6
If DoSomething() throws TreehouseDefense.OutOfBoundsException, which catch clause will catch it?
try
{
DoSomething();
}
catch(TreehouseDefense.OutOfBoundsException ex)
{
}
catch(TreehouseDefense.TreehouseDefenseException ex)
{
}
catch(System.Exception ex)
{
}
Choose the correct answer below: