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

Ability to retrieve original Throwable from ThrowableProxy

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta7
    • Fix Version/s: 2.0-beta9
    • Component/s: Core
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                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