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
JAL-1925 update source version in license
[jalview.git]
/
src
/
org
/
jibble
/
epsgraphics
/
EpsDocument.java
diff --git
a/src/org/jibble/epsgraphics/EpsDocument.java
b/src/org/jibble/epsgraphics/EpsDocument.java
index
f343d5e
..
ccfbcca
100755
(executable)
--- a/
src/org/jibble/epsgraphics/EpsDocument.java
+++ b/
src/org/jibble/epsgraphics/EpsDocument.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
+ * Copyright (C) 2015 The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-20,8
+20,15
@@
*/
package org.jibble.epsgraphics;
*/
package org.jibble.epsgraphics;
-import java.io.*;
-import java.util.*;
+import jalview.util.MessageManager;
+
+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
@@
-157,7
+164,9
@@
public class EpsDocument
_bufferedWriter.write(line + "\n");
} catch (IOException e)
{
_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() }));
}
}
}
}