what is the use of adding the line @throws java.io.IOException?

Viewed 1874

When using throws IOException NetBeans shows a warning where the addition of the line @throws java.io.IOException is needed. What is this line used for and is this good practice to use it this way?

1 Answers
Related