com.enonic.xp.page.PageNotFoundException Maven / Gradle / Ivy
The newest version!
package com.enonic.xp.page;
import java.text.MessageFormat;
import com.enonic.xp.annotation.PublicApi;
import com.enonic.xp.content.ContentId;
import com.enonic.xp.exception.NotFoundException;
@PublicApi
public final class PageNotFoundException
extends NotFoundException
{
public PageNotFoundException( final ContentId contentId )
{
super( MessageFormat.format( "Content with id [{0}] is not a page", contentId.toString() ) );
}
}