Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
9305
Description
for diagnostic reasons would be preferrable, by throwing exceptions, to include the originating error:
use
..
catch (Exception e) {
throw new ArtifactInstallationException( "NPANDAY-001-012: Unable to read pom file", e );
}
instead of
throw new ArtifactInstallationException( "NPANDAY-001-012: Unable to read pom file" );
or throw new ArtifactInstallationException(
"NPANDAY-001-014: Unable to store model: Message = " + e.getMessage() );