Checkstyle keeps giving me this error:
Expected @throws tag for RemoteException
This is my javadoc comments and first line of method:
/**
* Inits the filter
*
* @throws RemoteException if there is an issue
*/
public void init() throws RemoteException {
Really hope this helps someone:
/*
* @throws SomeExceptionPresentOnImports some text
* @throws com.myorg.SomeExceptionPresentOnImports1 some text
*/
Both are reported as errors
but if you remove the fully qualified names it will not complain.
/*
* @throws SomeExceptionPresentOnImports some text
* @throws SomeExceptionPresentOnImports1 some text
*/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With