Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-83

do not hide originating exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4-incubating
    • 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() );

      Attachments

        Activity

          People

            lcorneliussen Lars Corneliussen
            jedioetzi jedioetzi
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: