I am really sorry to hear that. I can understand how it feels as I have faced many rejections myself too. The best thing that you can do is sit down with your supervisor, and ask him to make specific comments on your document. The examiners give their comments on a broad perspective, so I think you should only revise after having the complete idea of where you are wrong. And don’t be so worried, it’ll be okay. A dissertation is a big achievement. It ain’t supposed to be easy.