throw new RuntimeException(e);
}
}
private Object convertModelNodeToMainCl(ModelNode modelNode) throws Exception {
ObjectSerializer localSerializer = ObjectSerializer.FACTORY.createSerializer(this.getClass().getClassLoader());
ObjectSerializer mainSerializer = ObjectSerializer.FACTORY.createSerializer(ObjectSerializer.class.getClassLoader());
return mainSerializer.deserializeModelNode(localSerializer.serializeModelNode(modelNode));
}