if (x instanceof XMLPipelineException) {
XMLPipelineException pipelineException = (XMLPipelineException) x;
Map errorProperties = pipelineException.getErrorProperties();
if (errorProperties != null) {
Object value = errorProperties.get(arg.asJavaString());
if (value != null) {
result = factory.createStringValue(value.toString());
}
}
}