I am trying to fire the test()
method (which uses elements from the JAudioTagger library) when a JavaFX Button is clicked:
search.setOnAction(new EventHandler<ActionEvent>() {
public void handle(ActionEvent e) {
test();
}
});
And here is the test()
method:
public void test() throws CannotReadException, IOException, TagException, ReadOnlyFileException, InvalidAudioFrameException {
...
}
For some reason, Eclipse has underlined the reference to test() in the first bit of code, saying that
Unhandled exception type InvalidAudioFrameException
even though this exception has already been handled in the test()
method? I don't get it.