JdbcXPathParameter extends NullableParameter { @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 getXpath(); void setXpath(String xpath); KeyValuePairSet getNamespaceContext(); void setNamespaceContext(KeyValuePairSet kvps); DocumentBuilderFactoryBuilder getXmlDocumentFactoryConfig(); void setXmlDocumentFactoryConfig(DocumentBuilderFactoryBuilder xml);  }
@Test public void testNoXPathOutputParam() throws Exception { JdbcXPathParameter parameter = new JdbcXPathParameter(); try { parameter.applyOutputParam(null, message); fail(); } catch(JdbcParameterException ex) { } }