public static void setPropertySafely ( Marshaller marshaller , String name , Object value ) { try { marshaller . setProperty ( name , value ) ; } catch ( PropertyException e ) { LOGGER . warn ( String . format ( "Can't set \"%s\" property to given marshaller" , name ) , e ) ; } }
Try to set specified property to given marshaller