public Version createVersion(int value){
  ProtoVersionField protoVersionField=new ProtoVersionField();
  try {
    protoVersionField.setVersion(value);
  }
 catch (  SdpException s) {
    s.printStackTrace();
    return null;
  }
  return protoVersionField;
}

public Version createVersion ( int value ) { ProtoVersionField protoVersionField = new ProtoVersionField ( ) ; try { protoVersionField . setVersion ( value ) ; } catch ( SdpException s ) { s . printStackTrace ( ) ; return null ; } return protoVersionField ; }
returns version object with the specified values .
