⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jahiaoperationnotallowedexception.java

📁 java 写的一个新闻发布系统
💻 JAVA
字号:
// $Id: JahiaOperationNotAllowedException.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;import org.jahia.exceptions.JahiaException;/** * This exception is raised when an operation is not allowed. * i.e. delete the current page * * @author  Yann Gentil * @version 1.0 */public class JahiaOperationNotAllowedException extends JahiaException{    private int mPageID;    private String mMessage;    //-------------------------------------------------------------------------    /** Default constructor     *     * @param   pageID  The page ID.     * @param   mess    The exception message.     */    public JahiaOperationNotAllowedException (int pageID, String mess)    {        super ("Operation Not allowed [Page:" + pageID+"] - "+ mess,               mess,               PAGE_ERROR, ERROR);        mPageID = pageID;    }        //-------------------------------------------------------------------------    /** Return the ID of the page.     */    public final int getPageID () {        return mPageID;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -