It's an infection of the eye by a bacterium or a virus, which can produce a secretion of the eye and cause the throat pain.
Doctor, white secretions come out of your eyes and your throat hurts. What's the problem?