JAL-1355
[jalview.git] / src / org / jibble / epsgraphics / EpsDocument.java
index f343d5e..617542f 100755 (executable)
@@ -20,6 +20,8 @@
  */
 package org.jibble.epsgraphics;
 
+import jalview.util.MessageManager;
+
 import java.io.*;
 import java.util.*;
 
@@ -157,7 +159,7 @@ public class EpsDocument
       _bufferedWriter.write(line + "\n");
     } catch (IOException e)
     {
-      throw new EpsException("Could not write to the output file: " + e);
+      throw new EpsException(MessageManager.formatMessage("exception.eps_coudnt_write_output_file", new String[]{e.getMessage()}));
     }
   }