git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into task/JAL-3796_notarization
[jalview.git]
/
src
/
org
/
jibble
/
epsgraphics
/
EpsDocument.java
diff --git
a/src/org/jibble/epsgraphics/EpsDocument.java
b/src/org/jibble/epsgraphics/EpsDocument.java
old mode 100755
(executable)
new mode 100644
(file)
index
b5e67c3
..
4a58098
--- a/
src/org/jibble/epsgraphics/EpsDocument.java
+++ b/
src/org/jibble/epsgraphics/EpsDocument.java
@@
-20,10
+20,13
@@
*/
package org.jibble.epsgraphics;
*/
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
/**
* 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)
{
_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);
}
}
}
}