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