mikkomaunu commented on issue #458: [LANG-1426] Corrected usage examples in 
Javadocs
URL: https://github.com/apache/commons-lang/pull/458#issuecomment-531581389
 
 
   > 
   > 
   > Why not also properly document legal inputs with `@throws`?
   
   Makes perfectly sense. Which approach is preferred:
   
   One throws per Exception type:
   
   `@throws IllegalArgumentException If {@code offset} or {@code maxWidth} is 
less than {@code 0} `
   
   or:
   
   ```
   @throws IllegalArgumentException If {@code offset} is less than {@code 0} 
   @throws IllegalArgumentException If {@code maxWidth} is less than {@code 0}
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to