[ 
https://issues.apache.org/jira/browse/NPANDAY-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars Corneliussen reassigned NPANDAY-83:
----------------------------------------

    Assignee: Lars Corneliussen

> do not hide originating exceptions
> ----------------------------------
>
>                 Key: NPANDAY-83
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-83
>             Project: NPanday
>          Issue Type: Bug
>            Reporter: jedioetzi
>            Assignee: Lars Corneliussen
>            Priority: Minor
>             Fix For: 1.3.1-incubating
>
>
> 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() );

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to