public Version getVersion ( String product ) throws IllegalArgumentException { String three = properties . getProperty ( product ) ; if ( three == null ) throw new IllegalArgumentException ( accessor . getMessage ( "PropertiesVersions.getVersion.productNotFound" , product ) ) ; return Version . valueOf ( three + "." + getBuild ( ) ) ; }
Gets the version number for the provided product .