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

Examples of de.danet.an.workflow.spis.aii.CannotExecuteException


    result.set(invokeOperation (calledOp, formPars, map));
      } catch (RemoteException e) {
          if (logger.isDebugEnabled()) {
              logger.debug ("Cannot invoke: " + e.getMessage (), e);
          }
    throw new CannotExecuteException
      ("Cannot invoke: " + e.getMessage(), e);
      }
  } finally {
      if (logger.isDebugEnabled()) {
    logger.debug ("Finished invocation of " + auk);
View Full Code Here


        }
    }
      }     
      return resData;
  } catch (JaxenException e) {
      throw new CannotExecuteException
          ("Cannot execute: " + e.getMessage (), e);
  } catch (javax.xml.rpc.ServiceException e) {
      logger.error (e.getMessage (), e);
      throw new CannotExecuteException (e.getMessage ());
  }
    }
View Full Code Here

            }
            return serializerTemplatesCache;
        } catch (TransformerConfigurationException e) {
            String msg = "Error creating TransformerHandler: " + e.getMessage();
            logger.error(msg, e);
            throw new CannotExecuteException (msg);
        } catch (SAXException e) {
            String msg = "Error creating TransformerHandler: " + e.getMessage();
            logger.error(msg, e);
            throw new CannotExecuteException (msg);
        }
    }
View Full Code Here

            }
            return parserTemplatesCache;
        } catch (TransformerConfigurationException e) {
            String msg = "Error creating TransformerHandler: " + e.getMessage();
            logger.error(msg, e);
            throw new CannotExecuteException (msg);
        } catch (SAXException e) {
            String msg = "Error creating TransformerHandler: " + e.getMessage();
            logger.error(msg, e);
            throw new CannotExecuteException (msg);
        }
    }
View Full Code Here

                Map res = new HashMap ();
                res.put(resParam, rpcResult);
                result.set (res);
            }
        } catch (MalformedURLException e) {
            throw new CannotExecuteException (e.getMessage(), e);
        } catch (XmlRpcException e) {
            throw new CannotExecuteException (e.getMessage(), e);
        } catch (TransformerConfigurationException e) {
            throw new CannotExecuteException (e.getMessage(), e);
        }
    }
View Full Code Here

    private Object convertParameter(Object param)
        throws CannotExecuteException {
        if (param instanceof Long) {
            if (((Long)param).longValue() > Integer.MAX_VALUE) {
                throw new CannotExecuteException
                    ("Illegal Argument",
                     new NumberFormatException
                     ("XMLRPC can handle only handle 4 byte integers"));
            }
            param = new Integer (((Long)param).intValue());
View Full Code Here

        try {
            Map pd = test.startAndWait();
            result.set(pd);
        } catch (Exception e) {
            throw (CannotExecuteException)
                (new CannotExecuteException (e.getMessage())).initCause(e);
        }
    }
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.spis.aii.CannotExecuteException

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.