JTryBlock tryBlock = block._try();
tryBlock.body().assign(valueVar, adapterVar.invoke("unmarshal").arg(xmlValueVar));
tryBlock.body().assign(isConvertedVar, JExpr.TRUE);
JCatchBlock catchException = tryBlock._catch(context.toJClass(Exception.class));
JBlock catchBody = catchException.body();
catchBody.invoke(builder.getReadContextVar(), "xmlAdapterError")
.arg(xsrVar)
.arg(context.dotclass(property.getAdapterType()))
.arg(context.dotclass(targetType)) // currently we only support conversion between same type
.arg(context.dotclass(targetType))