UIMA-6082 Backed out changes to determine if scheduling class is invalid. RM is now responsible for validation

git-svn-id: https://svn.apache.org/repos/asf/uima/uima-ducc/trunk@1866046 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/event/AgentEventListener.java b/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/event/AgentEventListener.java
index 9e90c0c..887aa04 100644
--- a/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/event/AgentEventListener.java
+++ b/uima-ducc-agent/src/main/java/org/apache/uima/ducc/agent/event/AgentEventListener.java
@@ -129,18 +129,7 @@
 
     IDuccWorkExecutable dwe = (IDuccWorkExecutable) dw;
     boolean preemptable = true;
-
-    try {
-      // this may fail if scheduling class is wrong
-      preemptable = dw.getPreemptableStatus();
-    } catch (Exception e) {
-      // tag the process as failed so the reconciler does not
-      // try to launch the process. Instead agent will publish
-      // this process as Failed
-      process.setProcessState(ProcessState.Failed);
-      logger.info("onDuccJobsStateEvent", jobDeployment.getJobId(), ">>>>>>>>>>>> "
-              + " Unable to Determine Scheduling Class for Ducc Process: " + process.getDuccId());
-    }
+    preemptable = dw.getPreemptableStatus();
 
     // agent will check the state of JP
     // process and either start, stop,