Examples of NoSuchDefinitionException


Examples of org.apache.tiles.definition.NoSuchDefinitionException

            {
                String message = "Unable to find the definition '"
                        + definitionName + "'";
                log.warn(message);
            }
            throw new NoSuchDefinitionException(definitionName);
        }
        if (!isPermitted(tilesRequest, definition.getRole()))
        {
            log.info("Access to definition '" + definitionName
                    + "' denied. User not in role '" + definition.getRole());
View Full Code Here

Examples of org.springframework.xd.dirt.stream.NoSuchDefinitionException

  @ResponseStatus(HttpStatus.OK)
  @ResponseBody
  public ResourceSupport display(@PathVariable("name") String name) {
    final D definition = deployer.findOne(name);
    if (definition == null) {
      throw new NoSuchDefinitionException(name, "There is no definition named '%s'");
    }
    R resource = resourceAssemblerSupport.toResource(definition);
    return enhanceWithDeployment(definition, resource);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.