1 15 16 package org.jahia.exceptions.services; 17 18 import org.jahia.exceptions.JahiaException; 19 20 27 public class ServiceNotFoundException extends JahiaException 28 { 29 private String mServiceName; 30 31 32 38 public ServiceNotFoundException (String name) 39 { 40 super ("Unavailable service.", 41 "Service [" + name + "] is not avaliable or initialized.", 42 SERVICE_ERROR, CRITICAL_SEVERITY); 43 44 mServiceName = name; 45 } 46 47 48 55 public final String getServiceName () { 56 return mServiceName; 57 } 58 59 } 60 | Popular Tags |