Package org.smartcomps.twister.deployer.exception

Examples of org.smartcomps.twister.deployer.exception.DeploymentException


      deploy(getDocument(xmlProcess), getDocument(xmlProcessDefinition));
    }
    catch(DocumentException e)
    {
      log.error("Failed to deploy a XML description from a String.", e);
      throw new DeploymentException("unable to deploy the document", e);
    }
  }
View Full Code Here


      deploy(getDocument(buffer.toString()), ((Document) (null)));
    }
    catch(DocumentException e)
    {
      log.error("Failed to deploy a XML description from a stream.", e);
      throw new DeploymentException("unable to deploy the document", e);
    }
    catch(IOException e)
    {
      log.error("Failed to deploy a XML description from a stream.", e);
      throw new DeploymentException("unable to deploy the document", e);
    }
    log.exiting(CLASSNAME, methodName);
  }
View Full Code Here

      deploy(getDocument(xmlProcessDescription), ((Document) (null)));
    }
    catch(Exception e)
    {
      log.error("Failed to deploy a XML description from an URL.", e);
      throw new DeploymentException("unable to deploy the document", e);
    }
    log.exiting(CLASSNAME, methodName);
  }
View Full Code Here

      deploy(getDocument(xmlProcessDescription.toURL()), getDocument(defFile.toURL()));
    }
    catch(Exception e)
    {
      log.error("Failed to deploy a XML description from a File.", e);
      throw new DeploymentException("unable to deploy the document", e);
    }
    log.exiting(CLASSNAME, methodName);
  }
View Full Code Here

      log.debug("commit transaction");
//      TransactionManager.commitTransaction();
    }
    catch(TransactionException e)
    {
      throw new DeploymentException(e);
    }
    log.exiting(CLASSNAME, methodName);
 
View Full Code Here

        {
          doc = getDocument(nsURL);
        }
        catch(Exception e)
        {
          throw new DeploymentException(e);
        }
      }
    }

    return doc;
View Full Code Here

          prop.addAlias(alias);
          //
        } else
        {
          log.error("A propertyAlias is defined without property : " + propertyName);
          throw new DeploymentException("a propertyAlias is defined without property : " + propertyName);
        }
      }
      for(Iterator properties = rootElement.elementIterator("property"); properties.hasNext();)
      {
        Element e = (Element)properties.next();
        String name = e.valueOf("@name");
        if(!addedProperty.containsKey(name))
          //ProcessFactory.addProperty(tp, name, e.valueOf("@type"));
          addPropertyToProcess(tp, name, e.valueOf("@type"));
      }

    }
    catch(Exception e)
    {
      throw new DeploymentException(e);
    }
  }
View Full Code Here

      }
      catch(DeploymentException e)
      {
//        TransactionManager.rollbackTransaction();
        log.error("Transation Rolled Back due to " + e.getMessage());
        throw new DeploymentException(e);
      }
    }
    log.exiting(CLASSNAME, methodName);
  }
View Full Code Here

       tp = process;
       //
    }
    catch(Exception e)
    {
      throw new DeploymentException(e);
    }
    log.exiting(CLASSNAME, methodName, tp);
    return tp;
  }
View Full Code Here

          //

        }
        catch(Exception e)
        {
          throw new DeploymentException(e);
        }
      }

    }
  }
View Full Code Here

TOP

Related Classes of org.smartcomps.twister.deployer.exception.DeploymentException

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.