question: public void registerOutParam ( int index , int type ) throws SQLException { FBProcedureParam param = getInputParam ( index ) ; if ( param == null || param == NullParam . NULL_PARAM ) { param = getOutputParam ( index ) ; } else { addOutputParam ( param ) ; if ( ! param . isValueSet ( ) ) { inputParams . set ( param . getPosition ( ) , null ) ; } } if ( param == null || param == NullParam . NULL_PARAM ) { throw new SQLException ( "Cannot find parameter with the specified position." , SQLStateConstants . SQL_STATE_INVALID_COLUMN ) ; } param . setType ( type ) ; }
target:  Register output parameter. This method marks parameter with the specified index as output. Parameters marked as output cannot be used as input parameters.