Package org.bladerunnerjs.model.exception.modelupdate

Examples of org.bladerunnerjs.model.exception.modelupdate.ModelUpdateException


    try {
      transformations.put("appns", appConf().getRequirePrefix());
      transformations.put("appname", name);
    }
    catch(ConfigException e) {
      throw new ModelUpdateException(e);
    }
  }
View Full Code Here


    catch (ConfigException e) {
      if(e.getCause() instanceof InvalidNameException) {
        throw (InvalidNameException) e.getCause();
      }
      else {
        throw new ModelUpdateException(e);
      }
    }
  }
View Full Code Here

    catch (ConfigException e) {
      if(e.getCause() instanceof InvalidNameException) {
        throw (InvalidNameException) e.getCause();
      }
      else {
        throw new ModelUpdateException(e);
      }
    }
  }
View Full Code Here

    catch (ConfigException e) {
      if(e.getCause() instanceof InvalidNameException) {
        throw (InvalidNameException) e.getCause();
      }
      else {
        throw new ModelUpdateException(e);
      }
    }
  }
View Full Code Here

        logger.debug(Messages.NODE_CREATED_LOG_MSG, getTypeName(), dir().getPath());
       
        rootNode.getFileInfo(dir()).resetLastModified();
      }
      catch(IOException e) {
        throw new ModelUpdateException(e);
      }
    }
    catch(Exception e) {
      logger.error(Messages.NODE_CREATION_FAILED_LOG_MSG, getTypeName(), dir().getPath());
      throw e;
View Full Code Here

        FileUtils.deleteDirectory(dir);
        logger.debug(Messages.NODE_DELETED_LOG_MSG, getTypeName(), dir.getPath());
        notifyObservers(new NodeDeletedEvent(), this);
      }
      catch(IOException e) {
        throw new ModelUpdateException(e);
      }
    }
    catch(Exception e) {
      logger.error(Messages.NODE_DELETION_FAILED_LOG_MSG, getTypeName(), dir().getPath());
      throw e;
View Full Code Here

      transformations.putAll( overrideTransformations );
     
      TemplateUtility.installTemplate(node, node.getTemplateName(), transformations, allowNonEmptyDirectories);
    }
    catch(TemplateInstallationException e) {
      throw new ModelUpdateException(e);
    }

    node.ready();
  }
View Full Code Here

TOP

Related Classes of org.bladerunnerjs.model.exception.modelupdate.ModelUpdateException

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.