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

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

There is a newer version: 7.28.2
Show 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