217218219220221222223224
); this.reader.parse(new InputSource(reader)); } catch(Exception e) { throw new JBossXBException("Failed to parse source: " + e.getMessage(), e); } }
9293949596979899100101102
parser = saxFactory.newSAXParser(); logParserInfo(); } catch(Exception e) { throw new JBossXBException("Failed to create a new SAX parser", e); } try { reader = parser.getXMLReader();
172173174175176177178179
{ reader.parse(systemId); } catch(Throwable e) { throw new JBossXBException("Failed to parse source: " + getLocationAsString(systemId), e); } }
188189190191192193194195
{ reader.parse(new InputSource(is)); } catch(Throwable e) { throw new JBossXBException("Failed to parse source: " + e.getMessage(), e); } }
204205206207208209210211
{ this.reader.parse(new InputSource(reader)); } catch(Throwable e) { throw new JBossXBException("Failed to parse source: " + e.getMessage(), e); } }
5859606162636465666768
/* 92 */ this.parser = saxFactory.newSAXParser(); /* 93 */ logParserInfo(); /* */ } /* */ catch (Exception e) /* */ { /* 97 */ throw new JBossXBException("Failed to create a new SAX parser", e); /* */ } /* */ /* */ try /* */ { /* 102 */ this.reader = this.parser.getXMLReader();
127128129130131132133134
/* */ { /* 173 */ this.reader.parse(systemId); /* */ } /* */ catch (Throwable e) /* */ { /* 177 */ throw new JBossXBException("Failed to parse source: " + getLocationAsString(systemId), e); /* */ } /* */ }
143144145146147148149150
/* */ { /* 189 */ this.reader.parse(new InputSource(is)); /* */ } /* */ catch (Throwable e) /* */ { /* 193 */ throw new JBossXBException("Failed to parse source: " + e.getMessage(), e); /* */ } /* */ }
159160161162163164165166
/* */ { /* 205 */ this.reader.parse(new InputSource(reader)); /* */ } /* */ catch (Throwable e) /* */ { /* 209 */ throw new JBossXBException("Failed to parse source: " + e.getMessage(), e); /* */ } /* */ }
267268269270271272273274
} protected void checkJBossXBException(Class<? extends Throwable> expected, Throwable throwable) { checkThrowable(JBossXBException.class, throwable); JBossXBException e = (JBossXBException) throwable; checkThrowable(expected, e.getCause()); }