void (@NotNull Object bean, @NotNull Element element, @Nullable SerializationFilter filter) { if (filter == null) { filter = TRUE_FILTER; } try { getBeanBinding(bean.getClass()).serializeInto(bean, element, filter); } catch (SerializationException e) { throw e; } catch (Exception e) { throw new XmlSerializationException(e); } }