Skip to content

Commit 0d6e4fe

Browse files
committed
Update exception message in AdobeGlyphList.
DEVSIX-1013
1 parent 96ded25 commit 0d6e4fe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

io/src/main/java/com/itextpdf/io/font/AdobeGlyphList.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ public class AdobeGlyphList {
6262
try {
6363
resource = ResourceUtil.getResourceStream(FontResources.ADOBE_GLYPH_LIST);
6464
if (resource == null) {
65-
String msg = "AdobeGlyphList.txt not found as resource. (It must exist as resource in the package com.itextpdf.text.pdf.fonts)";
66-
throw new Exception(msg);
65+
throw new Exception(FontResources.ADOBE_GLYPH_LIST + " not found as resource.");
6766
}
6867
byte[] buf = new byte[1024];
6968
ByteArrayOutputStream stream = new ByteArrayOutputStream();

0 commit comments

Comments
 (0)