📄 servicenotfoundexception.java
字号:
// $Id: ServiceNotFoundException.java,v 1.1.1.1 2002/02/07 15:09:15 loom Exp $////// ____.// __/\ ______| |__/\. _______// __ .____| | \ | +----+ \// _______| /--| | | - \ _ | : - \_________// \\______: :---| : : | : | \________>// |__\---\_____________:______: :____|____:_____\// /_____|//// . . . i n j a h i a w e t r u s t . . .//package org.jahia.exceptions.services;import org.jahia.exceptions.JahiaException;/** * This exception is raised when a specific service instance cannot be found * in the services registry. * * @author Fulco Houkes * @version 1.0 */public class ServiceNotFoundException extends JahiaException{ private String mServiceName; //------------------------------------------------------------------------- /** Default constructor * * @param name * The service name that could not be found. */ public ServiceNotFoundException (String name) { super ("Unavailable service.", "Service [" + name + "] is not avaliable or initialized.", SERVICE_ERROR, CRITICAL); mServiceName = name; } //------------------------------------------------------------------------- /** * Return the service name that could not be found. * * @return * The service name. */ public final String getServiceName () { return mServiceName; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -