JTryBlock tryBlock = block._try();
tryBlock.body().assign(valueVar, adapterVar.invoke("marshal").arg(propertyVar));
JCatchBlock catchException = tryBlock._catch(context.toJClass(Exception.class));
JBlock catchBody = catchException.body();
catchBody.invoke(builder.getReadContextVar(), "xmlAdapterError")
.arg(builder.getWriteObject())
.arg(property.getName())
.arg(context.dotclass(property.getAdapterType()))
.arg(context.dotclass(toClass(property.getType()))) // currently we only support conversion between same type
.arg(context.dotclass(toClass(property.getType())))