Code example for ParserConfigurationException

Methods: getMessage

0
                Log.logWarning("OAIListFriendsLoader.Parser", "OAIListFriends was not parsed:\n" + UTF8.String(b));
            } catch (final IOException e) {
                Log.logException(e);
                Log.logWarning("OAIListFriendsLoader.Parser", "OAIListFriends was not parsed:\n" + UTF8.String(b));
            } catch (final ParserConfigurationException e) {
                Log.logException(e);
                Log.logWarning("OAIListFriendsLoader.Parser", "OAIListFriends was not parsed:\n" + UTF8.String(b));
                throw new IOException(e.getMessage());
            } finally { 
                try { 
                    this.stream.close();
                } catch (final IOException e) {
                    Log.logException(e);
                } 
            } 
        } 
 
        /* 
         <?xml version="1.0" encoding="UTF-8"?> 
         <BaseURLs> 
         <baseURL id="http://roar.eprints.org/id/eprint/102">http://research.nla.gov.au/oai</baseURL>