this way, you are keeping the last exception. I think you should check if ```firstException``` is different from null before setting it.