Sobes.tech
Junior — Senior

What type of exception will be thrown from the nested try-catch-finally construct

livecode

Task condition

Let's consider a typical combination of try, catch, and finally blocks. We need to understand which exception will ultimately be thrown out.

try
    {
        try
        {
            throw Ex1;
        }
        catch
        {
            throw Ex2;
        }
        finally
        {
            throw Ex3;
        }
    }catch
        {
       // ?
        }