Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-12676

BlobStoreException should implement toString() to facilitate better exception messages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.0
    • Component/s: Blobstore
    • Labels:

      Description

      When an Exception adds additional arguments to a constructor, one should make sure those arguments are part of a getMessage()/getLocalizedMessage() implementation.

      org.sonatype.nexus.blobstore.api.BlobStoreException does not do this.

      This means if this exception is logged, the blobId is not necessarily logged as well - which leads problems trying to diagnose which blob the exception relates to.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title