public void checkParameters() throws SQLException {
  for (  FBProcedureParam param : inputParams) {
    if (param == null) {
      continue;
    }
    if (!param.isValueSet()) {
      if (param.isParam() && outputParams.size() > 0 && outputParams.get(param.getPosition()) == null)       throw new FBSQLException("Value of parameter " + param.getIndex() + " not set and "+ "it was not registered as output parameter.",SQLStateConstants.SQL_STATE_WRONG_PARAM_NUM);
    }
  }
}

public void checkParameters ( ) throws SQLException { for ( FBProcedureParam param : inputParams ) { if ( param == null ) { continue ; } if ( ! param . isValueSet ( ) ) { if ( param . isParam ( ) && outputParams . size ( ) > 0 && outputParams . get ( param . getPosition ( ) ) == null ) throw new FBSQLException ( "Value of parameter " + param . getIndex ( ) + " not set and " + "it was not registered as output parameter." , SQLStateConstants . SQL_STATE_WRONG_PARAM_NUM ) ; } } }
checks if all parameters have been set .
