KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > exceptions > JahiaForbiddenAccessException


1 // $Id: JahiaForbiddenAccessException.java 3567 2003-06-30 22:32:03Z shuber $
2
//
3
//
4
// ____.
5
// __/\ ______| |__/\. _______
6
// __ .____| | \ | +----+ \
7
// _______| /--| | | - \ _ | : - \_________
8
// \\______: :---| : : | : | \________>
9
// |__\---\_____________:______: :____|____:_____\
10
// /_____|
11
//
12
// . . . i n j a h i a w e t r u s t . . .
13
//
14

15
16 package org.jahia.exceptions;
17
18
19 /**
20  * This exception is raised when the user tries to access a resource to which
21  * he has no permissions.
22  *
23  * @author Fulco Houkes
24  * @version 1.0
25  */

26 public class JahiaForbiddenAccessException extends JahiaException
27 {
28
29     //-------------------------------------------------------------------------
30
/** Default constructor
31      *
32      * @param pageID The not-found requested page ID.
33      */

34     public JahiaForbiddenAccessException ()
35     {
36         super ("403 Access forbidden", "403 Access forbidden",
37                SECURITY_ERROR, ERROR_SEVERITY);
38     }
39 }
40
Popular Tags