@Test
public void exportCustomValue_RuntimeException_msg() throws Exception
{
Exception value = new NullPointerException( "foo != null" );
StructValue sv = vf.exportCustomValue( value );
sv.checkType( vf.getType( "_Etch_RuntimeException" ) );
assertEquals( 1, sv.size() );
assertEquals( "java.lang.NullPointerException: foo != null",
sv.get( DefaultValueFactory._mf_msg ) );
}