Index: trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java	(revision 19112)
+++ trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java	(revision 19113)
@@ -38,4 +38,5 @@
 import org.openstreetmap.josm.tools.Utils;
 import org.openstreetmap.josm.tools.bugreport.BugReport;
+import org.openstreetmap.josm.tools.bugreport.ReportedException;
 
 /**
@@ -223,5 +224,4 @@
      * @param pref the string that defines the custom projection
      */
-    @SuppressWarnings("PMD.PreserveStackTrace") // PMD 7.2.x doesn't like log + new exception here for some reason.
     public CustomProjection(String name, String code, String pref) {
         this.name = name;
@@ -235,5 +235,7 @@
                 update(null);
             } catch (ProjectionConfigurationException ex1) {
-                throw BugReport.intercept(ex1).put("name", name).put("code", code).put("pref", pref);
+                ReportedException reportedException = BugReport.intercept(ex1).put("name", name).put("code", code).put("pref", pref);
+                reportedException.addSuppressed(ex);
+                throw reportedException;
             }
         }
