Author: abearez
Date: Sun Aug 26 21:15:38 2018
New Revision: 1839252

URL: http://svn.apache.org/viewvc?rev=1839252&view=rev
Log:
add warning message to help reduce duplicates of bug 60102

Modified:
    
poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/ContentTypeManager.java

Modified: 
poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/ContentTypeManager.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/ContentTypeManager.java?rev=1839252&r1=1839251&r2=1839252&view=diff
==============================================================================
--- 
poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/ContentTypeManager.java
 (original)
+++ 
poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/ContentTypeManager.java
 Sun Aug 26 21:15:38 2018
@@ -338,8 +338,9 @@ public abstract class ContentTypeManager
          */
         if (this.container != null && this.container.getPart(partName) != 
null) {
             throw new OpenXML4JRuntimeException(
-                    "Rule M2.4 exception : Part \'" + partName +
-                            "\' not found - this error should NEVER happen! If 
you can provide the triggering file, then please raise a bug at 
https://bz.apache.org/bugzilla/enter_bug.cgi?product=POI and attach the file 
that triggers it, thanks!");
+                 "Rule M2.4 exception : this error should NEVER happen!\n"
+                 + "Check that your code is closing the open resources in the 
correct order prior to filing a bug report.\n"
+                 + "If you can provide the triggering file, then please raise 
a bug at https://bz.apache.org/bugzilla/enter_bug.cgi?product=POI and attach 
the file that triggers it, thanks!");
         }
         return null;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@poi.apache.org
For additional commands, e-mail: commits-h...@poi.apache.org

Reply via email to