I'm using Apache POI for
I'm able to print what exception it is in Excel by writing a print statement in that particular
But I also want the reason for that
exception, like if there is
elementNotFoundException, then it should show particular
ID/xpath/...is not found.
So, if this is possible, then how to do this ?