1 package org.jahia.exceptions; 2 3 9 public class JahiaSiteAndPageIDMismatchException extends JahiaException 10 { 11 12 13 private static final long serialVersionUID = -1554145675009555250L; 14 15 22 public JahiaSiteAndPageIDMismatchException(String resolvedSiteKey, 23 String siteKeyByHostName, String hostName) 24 { 25 super("[Error code: 404] Consistency cross-check failed", " resolved Jahia site key '" 26 + resolvedSiteKey + "' does not match the key '" + siteKeyByHostName 27 + "', resolved by the host name '" + hostName + "'.", SITE_NOT_FOUND, 28 JahiaException.WARNING_SEVERITY); 29 } 30 31 } 32 | Popular Tags |