Add @throws tag to the Version.forIntegers()'s Javadoc

This commit is contained in:
Zafar Khaja 2014-08-14 21:31:30 +03:00
parent 6f025498a9
commit d7d9c1aec2
1 changed files with 3 additions and 0 deletions

View File

@ -271,6 +271,7 @@ public class Version implements Comparable<Version> {
*
* @param major the major version number
* @return a new instance of the {@code Version} class
* @throws IllegalArgumentException if a negative integer is passed
* @since 0.7.0
*/
public static Version forIntegers(int major) {
@ -284,6 +285,7 @@ public class Version implements Comparable<Version> {
* @param major the major version number
* @param minor the minor version number
* @return a new instance of the {@code Version} class
* @throws IllegalArgumentException if a negative integer is passed
* @since 0.7.0
*/
public static Version forIntegers(int major, int minor) {
@ -298,6 +300,7 @@ public class Version implements Comparable<Version> {
* @param minor the minor version number
* @param patch the patch version number
* @return a new instance of the {@code Version} class
* @throws IllegalArgumentException if a negative integer is passed
* @since 0.7.0
*/
public static Version forIntegers(int major, int minor, int patch) {