猜这种方法:
/**
* Description
* @throws EspaiDocFault
*/
public void doSomething() {
throw new EspaiDocFault();
}
/**
* Description
*/
public void doAnotherThing() {
this.doSomething();
}
其中EspaiDocFault
是:
public class EspaiDocFault extends RuntimeException {}
我应该在@throws EspaiDocFault
java-doc中添加doAnotherThing
吗?