A light wrapper around a StAX location. This is useful when bridging between StAX and XNI components.
241024112412241324142415241624172418241924202421
Throwable t = e.getNestedException(); if (t instanceof IOException) { exception = (IOException) t; } else { StAXLocationWrapper slw = new StAXLocationWrapper(); slw.setLocation(e.getLocation()); throw new XMLParseException(slw, e.getMessage(), e); } } catch (IOException e) { exception = e;