question: private void validateParameter ( ClusterIpInfo clusterIpInfo , String postOperation ) throws Exception { boolean bValid = true ; String errmsg = "" ; if ( ! postOperation . equals ( "poweroff" ) && ! postOperation . equals ( "reboot" ) ) { bValid = false ; errmsg = "post operation is invalid." ; } errmsg = clusterIpInfo . validate ( nodeCount ) ; if ( ! errmsg . isEmpty ( ) ) { bValid = false ; } if ( ! bValid ) { throw new IllegalStateException ( errmsg ) ; } }
target:  Valide cluster ip reconfig param