A long time ago, I asked a question about the behaviour of a basic Java function in a particular environment to ensure that my code was going to behave as I intended.
The answers led me to believe that it would work, but some time later, it turned out that the particular environment was indeed a source of problems.
I made an Edit to my question to warn people that may find my question that it doesn't work as intended.
A bunch of months later, somebody commented on the question saying that I should move my Edit to the answer section, which didn't cross my mind in the first place, so I did.
And then today I realized that a moderator deleted my answer, with not much info except that link.
I read the link, but I'm sure how it applies to my answer. I searched a bit around, but I don't see any way to request information about why it was deleted, and Stackexchange doesn't seem to provide a way to contact other users so that I could ask the moderator.
Why isn't there a deletion reason ? How can I know why my answer got deleted ?
My other question is about the proper policy to follow in such events :
was answering myself the correct thing to do in the first place ?
now that my answer has been deleted, am I supposed to make a new answer, or am I supposed to edit the deleted answer and somehow ask the moderator to review it for restoring ?