code: private void checkInParameters() {
          // TODO Auto-generated method stub
          checkNull(inFlow);
          if (pMode < 0 || pMode > 1) {
              String message = msg.message("distancetooutlet.modeOutRange");
              pm.errorMessage(message);
              throw new IllegalArgumentException(message);
          }
  
      }
docs: /*
  Verify the input parameters.