KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > services > acl > JahiaACLException


1 //
2
// ____.
3
// __/\ ______| |__/\. _______
4
// __ .____| | \ | +----+ \
5
// _______| /--| | | - \ _ | : - \_________
6
// \\______: :---| : : | : | \________>
7
// |__\---\_____________:______: :____|____:_____\
8
// /_____|
9
//
10
// . . . i n j a h i a w e t r u s t . . .
11
//
12

13
14 package org.jahia.services.acl;
15
16 import org.jahia.exceptions.JahiaException;
17
18
19 public class JahiaACLException extends JahiaException {
20     public static final int SERVICE_NULL_INSTANCE = 200;
21     public static final int ACL_INVALID_ID = 201;
22     public static final int ACL_INVALID_CLASS_NAME = 202;
23     public static final int ACL_INVALID_CLASS_ID = 203;
24     public static final int ACL_UNKNOWN_ID = 204;
25     public static final int ACL_UNKNOWN_CLASS_NAME = 205;
26     public static final int ACL_NOT_INITIALIZED = 206;
27
28
29     //-------------------------------------------------------------------------
30
/**
31      *
32      */

33     public JahiaACLException (String JavaDoc message, int code) {
34         super ("Internal error in ACL", message, code, JahiaException.ERROR_SEVERITY);
35     }
36
37 } // finish class JahiaACLException
38
Popular Tags