List of usage examples for org.springframework.oxm XmlMappingException printStackTrace
public void printStackTrace()
From source file:com.shopzilla.api.service.ProductService.java
public ProductResponse xmlInputStreamToJava(InputStream in) throws IOException, JAXBException { try {//from ww w. j ava 2 s. co m ProductResponse productResponse = (ProductResponse) unmarshaller.unmarshal(new StreamSource(in)); System.out.println("productResponse = " + productResponse); return productResponse; } catch (XmlMappingException xme) { xme.printStackTrace(); } return null; }