Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-299

Ability to retrieve original Throwable from ThrowableProxy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta7
    • 2.0-beta9
    • Core
    • None

    Description

      If ThrowableProxy is to exist without change, it would be polite to provide mechanism to retrieve the initial source Throwable in an unadulterated form.

      As already reported it's impossible to retrieve the original class name of the Throwable that was the source of a proxy instance, though the data exists as the private name attribute, which wouldn't be an issue at all if we could merely access the

      Say via something like:
      public Throwable proxiedThrown()

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              majikthys jeremy franklin-ross
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified