<filename>python/ql/src/Exceptions/IncorrectExceptOrder.py


def incorrect_except_order(val):
    try:
        val.attr
    except Exception:
        print ("Exception")
    except AttributeError:
        print ("AttributeError")
        

<filename>python/ql/src/Exceptions/IncorrectExceptOrder.py


def incorrect_except_order(val):
    try:
        val.attr
    except Exception:
        print ("Exception")
    except AttributeError:
        print ("AttributeError")
        
