You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by jo...@apache.org on 2011/03/29 13:34:14 UTC
svn commit: r1086548 -
/uima/uimaj/trunk/uimaj-ep-launcher/src/main/java/org/apache/uima/ep_launcher/RemoteLauncher.java
Author: joern
Date: Tue Mar 29 11:34:14 2011
New Revision: 1086548
URL: http://svn.apache.org/viewvc?rev=1086548&view=rev
Log:
UIMA-2100 Fixed java 1.5 compatibility issue
Modified:
uima/uimaj/trunk/uimaj-ep-launcher/src/main/java/org/apache/uima/ep_launcher/RemoteLauncher.java
Modified: uima/uimaj/trunk/uimaj-ep-launcher/src/main/java/org/apache/uima/ep_launcher/RemoteLauncher.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-ep-launcher/src/main/java/org/apache/uima/ep_launcher/RemoteLauncher.java?rev=1086548&r1=1086547&r2=1086548&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-ep-launcher/src/main/java/org/apache/uima/ep_launcher/RemoteLauncher.java (original)
+++ uima/uimaj/trunk/uimaj-ep-launcher/src/main/java/org/apache/uima/ep_launcher/RemoteLauncher.java Tue Mar 29 11:34:14 2011
@@ -154,7 +154,7 @@ public class RemoteLauncher {
try {
XmiCasDeserializer.deserialize(inputStream, aCAS, true);
} catch (SAXException e) {
- throw new IOException(e);
+ throw new IOException(e.getMessage());
} finally {
inputStream.close();
}
@@ -164,7 +164,7 @@ public class RemoteLauncher {
try {
XCASDeserializer.deserialize(inputStream, aCAS, true);
} catch (SAXException e) {
- throw new IOException(e);
+ throw new IOException(e.getMessage());
} finally {
inputStream.close();
}
@@ -213,7 +213,7 @@ public class RemoteLauncher {
try {
ser.serialize(aCAS, xmlSer.getContentHandler());
} catch (SAXException e) {
- throw new IOException(e);
+ throw new IOException(e.getMessage());
}
} finally {
if (out != null) {