JdbcConstantParameter extends AbstractParameter { @Override public void applyOutputParam(Object dbValue, AdaptrisMessage msg) throws JdbcParameterException { throw new JdbcParameterException(this.getClass().getName() + " cannot be applied to Jdbc output parameters."); }  @Override Object applyInputParam(AdaptrisMessage msg); @Override void applyOutputParam(Object dbValue, AdaptrisMessage msg); String getConstant(); void setConstant(String constant);  }
@Test public void testOutputParam() throws Exception { JdbcConstantParameter parameter = new JdbcConstantParameter(); try { parameter.applyOutputParam(null, message); } catch (JdbcParameterException ex) { } }