Package de.danet.an.workflow.spis.aii.ResultProvider

Examples of de.danet.an.workflow.spis.aii.ResultProvider.ExceptionResult


    }
      }
  } catch (IOException e) {
      logger.warn ("Problem accessing \"" + url
       + "\" (abandoning): " + e.getMessage ());
      result.set (new ExceptionResult ("CannotAccessException"));
      return;
  }
  if (statusCode == -1) {
      result.set (new ExceptionResult
      ("RetryCountExceededException"));
      return;
  }
  Map res = new HashMap ();
  result.set(res);
View Full Code Here


      Reader sr = new StringReader (script);
      cx.evaluateReader (scope, sr, "<script>", 1, null);
      result.set(convertResult(cx, scope, formPars));
  } catch (AbandonedException e) {
      // thrown when the activity was deliberatly abandoned.
      result.set (new ExceptionResult (e.getMessage ()));
  } catch (RemoteException e) {
      throw e;
  } catch (IOException e) {
      logger.error (e.getMessage(), e);
      throw new CannotExecuteException (e.getMessage());
View Full Code Here

    /* Comment copied from interface. */
    public void abandonActivity(String string)
  throws TransitionNotAllowedException {
  while (true) {
      try {
    engine.doAbandon (activity, new ExceptionResult(string));
    break;
      } catch (RemoteException e) {
    logger.debug ("Error while abandoning activity (repeating): "
            + e.getMessage (), e);
      }
View Full Code Here

    /* Comment copied from interface. */
    public void abandon(String exception)
  throws RemoteException, TransitionNotAllowedException {
  try {
      engine().forwardAbandon(this, new ExceptionResult(exception));
  } catch (RemoteException e) {
            engineCache = null;
      remoteExceptionCaught ();
      throw (e);
  }
View Full Code Here

    }

    /* Comment copied from Interface. */
    public void abandon(String exception)
        throws TransitionNotAllowedException {
        abandon(new ExceptionResult(exception));
    }
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.spis.aii.ResultProvider.ExceptionResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.