NPanday
  1. NPanday
  2. NPANDAY-83

do not hide originating exceptions

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4-incubating
    • Component/s: None
    • Labels:
      None
    • Codeplex ID:
      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() );

        Activity

        jedioetzi created issue -
        Lars Corneliussen made changes -
        Field Original Value New Value
        Fix Version/s 1.3.1-incubating [ 12316271 ]
        Fix Version/s Backlog [ 12315408 ]
        Lars Corneliussen made changes -
        Assignee Lars Corneliussen [ lcorneliussen ]
        Hide
        Lars Corneliussen added a comment -

        fixed in trunk

        Show
        Lars Corneliussen added a comment - fixed in trunk
        Lars Corneliussen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Lars Corneliussen
            Reporter:
            jedioetzi
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development