public void test() throws Exception { DirectToFieldMapping map = new DirectToFieldMapping(); map.setAttributeName("foobar"); map.setAttributeClassification(Hashtable.class); try { map.getObjectValue("foobar", getSession()); } catch (ConversionException e) { m_exception = e; } }