com.fasterxml.jackson.dataformat.xml.util
Class StaxUtil
java.lang.Object
com.fasterxml.jackson.dataformat.xml.util.StaxUtil
public class StaxUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaxUtil
public StaxUtil()
throwXmlAsIOException
public static <T> T throwXmlAsIOException(XMLStreamException e)
throws IOException
- Adapter method used when only IOExceptions are declared to be thrown, but
a
XMLStreamException
was caught.
Note: dummy type variable is used for convenience, to allow caller to claim
that this method returns result of any necessary type.
- Throws:
IOException
Copyright © 2012 FasterXML. All Rights Reserved.