All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.n2oapp.framework.config.reader.PageNotFoundException Maven / Gradle / Ivy

The newest version!
package net.n2oapp.framework.config.reader;

import net.n2oapp.framework.api.metadata.global.view.page.N2oPage;

/**
 * Исключение, когда страница не найдена
 */
public class PageNotFoundException extends ReferentialIntegrityViolationException {

    public PageNotFoundException(String pageId) {
        super(pageId, N2oPage.class);
        setUserMessage("n2o.pageNotFound");
        setHttpStatus(404);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy