public MigrationClient(String bindAddressName,int serverPort){
  this.port=serverPort;
  try {
    this.serverAddress=InetAddress.getByName(bindAddressName);
  }
 catch (  IOException e) {
    throw new IllegalArgumentException("Error - bind address cannot be resolved: '" + bindAddressName + "'");
  }
}

public MigrationClient ( String bindAddressName , int serverPort ) { this . port = serverPort ; try { this . serverAddress = InetAddress . getByName ( bindAddressName ) ; } catch ( IOException e ) { throw new IllegalArgumentException ( "Error - bind address cannot be resolved: '" + bindAddressName + "'" ) ; } }
create a migrationclient to be used with a distributedsystem and cache that are created using gemfire apis
