public MessageVersion(String version){
  this.version=version;
  try {
    getVersionParts();
  }
 catch (  NumberFormatException e) {
    throw new IllegalArgumentException(String.format("Invalid version string : %s.",version),e);
  }
}

public MessageVersion ( String version ) { this . version = version ; try { getVersionParts ( ) ; } catch ( NumberFormatException e ) { throw new IllegalArgumentException ( String . format ( "Invalid version string : %s." , version ) , e ) ; } }
create a message version .
