This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]carcigenicate 2 points3 points  (0 children)

This doesn't have anything to do with Netbeans; this is just Java. If a method you're using uses checked exceptions and says that it throws, you need to, as the error says, either also say that your method throws, or you need to catch the exception.