Skip to content

Commit b6a4376

Browse files
pavel-alayitext-teamcity
authored andcommitted
Update exception message in AdobeGlyphList.
DEVSIX-1013 Autoported commit. Original commit hash: [0d6e4fe6d]
1 parent fd866b3 commit b6a4376

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

itext/itext.io/itext/io/font/AdobeGlyphList.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ static AdobeGlyphList() {
5858
try {
5959
resource = ResourceUtil.GetResourceStream(FontResources.ADOBE_GLYPH_LIST);
6060
if (resource == null) {
61-
String msg = "AdobeGlyphList.txt not found as resource. (It must exist as resource in the package com.itextpdf.text.pdf.fonts)";
62-
throw new Exception(msg);
61+
throw new Exception(FontResources.ADOBE_GLYPH_LIST + " not found as resource.");
6362
}
6463
byte[] buf = new byte[1024];
6564
MemoryStream stream = new MemoryStream();

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
96ded25416b052613b885ba49e0daac60131abe6
1+
0d6e4fe6d4c97c58a42604b5e41ee9d50b9d1d48

0 commit comments

Comments
 (0)