Beispiel
public class
ClassA {
private void
methodA ()
throws
java.io.IOException {
}
}
Lösung
Geben Sie Javadoc-Tags
@throws
für jede ausgelöste Ausnahmebedingung in Methoden des Typs '
public
' an.
public class
ClassA {
/**
* @throws java.io.IOException
*/
private void
methodA ()
throws
java.io.IOException {
}
}