103104105106107108109110
)); try { return Files.createTempDirectory("allure-results").toFile(); } catch (IOException e) { throw new AllureException("Can't create results directory", e); } }
176177178179180181182183
*/ public static Marshaller createMarshallerForClass(Class<?> clazz) { try { return JAXBContext.newInstance(clazz).createMarshaller(); } catch (JAXBException e) { throw new AllureException("Can't create marshaller for class " + clazz, e); } }