1 15 16 package org.jahia.exceptions; 17 18 19 26 public class JahiaOperationNotAllowedException extends JahiaException 27 { 28 private int mPageID; 29 private String mMessage; 30 31 37 public JahiaOperationNotAllowedException (int pageID, String mess) 38 { 39 super ("Operation Not allowed [Page:" + pageID+"] - "+ mess, 40 mess, 41 PAGE_ERROR, ERROR_SEVERITY); 42 43 mPageID = pageID; 44 } 45 46 47 48 51 public final int getPageID () { 52 return mPageID; 53 } 54 55 } 56 | Popular Tags |