public class StaxUtil extends Object
| Constructor and Description |
|---|
StaxUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
throwXmlAsIOException(XMLStreamException e)
Adapter method used when only IOExceptions are declared to be thrown, but
a
XMLStreamException was caught. |
public static <T> T throwXmlAsIOException(XMLStreamException e) throws IOException
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.
IOExceptionCopyright © 2012-2013 FasterXML. All Rights Reserved.