Merge branch 'develop' into task/JAL-3796_notarization
[jalview.git] / src / org / jibble / epsgraphics / EpsDocument.java
old mode 100755 (executable)
new mode 100644 (file)
index b5e67c3..4a58098
  */
 package org.jibble.epsgraphics;
 
-import jalview.util.MessageManager;
-
-import java.io.*;
-import java.util.*;
+import java.io.BufferedWriter;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
+import java.io.StringWriter;
+import java.io.Writer;
+import java.util.Date;
 
 /**
  * This represents an EPS document. Several EpsGraphics2D objects may point to
@@ -159,7 +162,7 @@ public class EpsDocument
       _bufferedWriter.write(line + "\n");
     } catch (IOException e)
     {
-      throw new EpsException(MessageManager.formatMessage("exception.eps_coudnt_write_output_file", new String[]{e.getMessage()}));
+      throw new EpsException("Could not write to the output file: " + e);
     }
   }