Package org.jboss.seam.framework

Examples of org.jboss.seam.framework.EntityNotFoundException


                WikiNodeDAO.instance().findWikiDocumentInArea(
                        helpAreaRoot.getAreaNumber(),
                        WikiUtil.convertToWikiName(documentName)
                );
        if (selectedHelpDoc == null)
            throw new EntityNotFoundException("Help document: "+documentName, WikiDocument.class);

        log.debug("Found help document: " + selectedHelpDoc);
    }
View Full Code Here


        if (getDirectoryId() == null)
            throw new InvalidWikiRequestException("Missing directoryId parameter");

        instance = wikiNodeDAO.findWikiDirectory(getDirectoryId());
        if (instance == null)
            throw new EntityNotFoundException(getDirectoryId(), WikiDirectory.class);

        afterNodeFound();
    }
View Full Code Here

TOP

Related Classes of org.jboss.seam.framework.EntityNotFoundException

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.