You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by de...@apache.org on 2015/02/07 15:30:43 UTC

svn commit: r1658063 - in /uima/sandbox/uima-ducc/trunk/uima-ducc-user/src/main/java/org/apache/uima/ducc/user/dgen/iface: DeployableGeneration.java DeployableGenerationException.java IDeployableGeneration.java

Author: degenaro
Date: Sat Feb  7 14:30:43 2015
New Revision: 1658063

URL: http://svn.apache.org/r1658063
Log:
UIMA-4068 DUCC Job Driver (JD) user classpath

provide full stack trace in JD log when CR throws an exception

Removed:
    uima/sandbox/uima-ducc/trunk/uima-ducc-user/src/main/java/org/apache/uima/ducc/user/dgen/iface/DeployableGenerationException.java
Modified:
    uima/sandbox/uima-ducc/trunk/uima-ducc-user/src/main/java/org/apache/uima/ducc/user/dgen/iface/DeployableGeneration.java
    uima/sandbox/uima-ducc/trunk/uima-ducc-user/src/main/java/org/apache/uima/ducc/user/dgen/iface/IDeployableGeneration.java

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-user/src/main/java/org/apache/uima/ducc/user/dgen/iface/DeployableGeneration.java
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-user/src/main/java/org/apache/uima/ducc/user/dgen/iface/DeployableGeneration.java?rev=1658063&r1=1658062&r2=1658063&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-user/src/main/java/org/apache/uima/ducc/user/dgen/iface/DeployableGeneration.java (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-user/src/main/java/org/apache/uima/ducc/user/dgen/iface/DeployableGeneration.java Sat Feb  7 14:30:43 2015
@@ -88,7 +88,7 @@ public class DeployableGeneration implem
 			List<String> aeOverrides, 
 			String ccDescriptor,
 			List<String> ccOverrides
-			) throws DeployableGenerationException
+			) throws Exception
 	{
 		String retVal = null;
 		try {
@@ -117,7 +117,7 @@ public class DeployableGeneration implem
 		}
 		catch(Exception e) {
 			e.printStackTrace();
-			throw new DeployableGenerationException(e.toString());
+			throw new Exception(e.toString());
 		}
 		return retVal;
 	}
@@ -133,7 +133,7 @@ public class DeployableGeneration implem
 			String dgenEndpoint,
 			String dgenFlowController,
 			String dgenReferenceByName
-			) throws DeployableGenerationException
+			) throws Exception
 	{
 		String retVal = null;
 		try {
@@ -153,7 +153,7 @@ public class DeployableGeneration implem
 		}
 		catch(Exception e) {
 			e.printStackTrace();
-			throw new DeployableGenerationException(e.toString());
+			throw new Exception(e.toString());
 		}
 		return retVal;
 	}

Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-user/src/main/java/org/apache/uima/ducc/user/dgen/iface/IDeployableGeneration.java
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-user/src/main/java/org/apache/uima/ducc/user/dgen/iface/IDeployableGeneration.java?rev=1658063&r1=1658062&r2=1658063&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-user/src/main/java/org/apache/uima/ducc/user/dgen/iface/IDeployableGeneration.java (original)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-user/src/main/java/org/apache/uima/ducc/user/dgen/iface/IDeployableGeneration.java Sat Feb  7 14:30:43 2015
@@ -37,7 +37,7 @@ public interface IDeployableGeneration {
 			List<String> aeOverrides, 
 			String cc,
 			List<String> ccOverrides
-			) throws DeployableGenerationException;
+			) throws Exception;
 	
 	public String generate(
 			String directory,
@@ -49,5 +49,5 @@ public interface IDeployableGeneration {
 			String dgenEndpoint,
 			String dgenFlowController,
 			String dgenReferenceByName
-			) throws DeployableGenerationException;
+			) throws Exception;
 }