aclnotfoundexception.java
来自「java 写的一个新闻发布系统」· Java 代码 · 共 58 行
JAVA
58 行
//// ____.// __/\ ______| |__/\. _______// __ .____| | \ | +----+ \// _______| /--| | | - \ _ | : - \_________// \\______: :---| : : | : | \________>// |__\---\_____________:______: :____|____:_____\// /_____|//// . . . i n j a h i a w e t r u s t . . .//package org.jahia.services.acl;import org.jahia.exceptions.JahiaException;/** * This exception is thrown when an ACL object is requested and is not * present in the database. * * @author Fulco Houkes * @version 2.0 */public class ACLNotFoundException extends JahiaException{ /** Unique identification number of the ACL that could not be found. */ private int mAclID = -1; //------------------------------------------------------------------------- // Fulco 8 Jan. 2001 /** * Default constructor */ public ACLNotFoundException (int aclID) { super ("Access Control List not found.", "ACL ["+aclID+"] could not be found.", ACL_ERROR, ERROR); mAclID = aclID; } //------------------------------------------------------------------------- // Fulco 18 Apr. 2001 /** * Return the Access Control List unique identification number that could * not be found. * * @return * The ACL ID that could not be found. */ public int getAclID () { return mAclID; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?