Re: MavenXpp3Reader question for maven-release-manager

2011-01-17 Thread Mark Struberg
nd LieGrue, strub --- On Mon, 1/17/11, Benjamin Bentmann wrote: > From: Benjamin Bentmann > Subject: Re: MavenXpp3Reader question for maven-release-manager > To: "Maven Developers List" > Date: Monday, January 17, 2011, 11:35 AM > Mark Struberg wrote: > >

Re: MavenXpp3Reader question for maven-release-manager

2011-01-17 Thread Benjamin Bentmann
Mark Struberg wrote: It throws the checked IOException and XmlPullParserException, but can it also throw unchecked Exceptions under 'normal' conditions? AFAIK no. So I'm not sure if I should add a catch (Exception e) instead of the 2 checked exceptions, or if all sane cases are already wra

MavenXpp3Reader question for maven-release-manager

2011-01-17 Thread Mark Struberg
Hi! I have a quick question on MavenXpp3Reader#read() It throws the checked IOException and XmlPullParserException, but can it also throw unchecked Exceptions under 'normal' conditions? The code I need this for is PomFinder#findMatchingPom and PomFinder#parsePom. I like to make sure that it do