KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nemesis > forum > exception > UnauthorizedException


1 /*
2  * NEMESIS-FORUM.
3  * Copyright (C) 2002 David Laurent(lithium2@free.fr). All rights reserved.
4  *
5  * Copyright (c) 2000 The Apache Software Foundation. All rights reserved.
6  *
7  * Copyright (C) 2001 Yasna.com. All rights reserved.
8  *
9  * Copyright (C) 2000 CoolServlets.com. All rights reserved.
10  *
11  * NEMESIS-FORUM. is free software; you can redistribute it and/or
12  * modify it under the terms of the Apache Software License, Version 1.1,
13  * or (at your option) any later version.
14  *
15  * NEMESIS-FORUM core framework, NEMESIS-FORUM backoffice, NEMESIS-FORUM frontoffice
16  * application are parts of NEMESIS-FORUM and are distributed under
17  * same terms of licence.
18  *
19  *
20  * NEMESIS-FORUM includes software developed by the Apache Software Foundation (http://www.apache.org/)
21  * and software developed by CoolServlets.com (http://www.coolservlets.com).
22  * and software developed by Yasna.com (http://www.yasna.com).
23  *
24  */

25
26 package org.nemesis.forum.exception;
27
28
29 /**
30  * Thrown if a User does not have permission to access a particular method.
31  */

32 public class UnauthorizedException extends ForumException {
33
34     
35     /**
36      * Constructor for UnauthorizedException.
37      */

38     public UnauthorizedException() {
39         super();
40     }
41
42     /**
43      * Constructor for UnauthorizedException.
44      * @param message
45      */

46     public UnauthorizedException(String JavaDoc message) {
47         super(message);
48     }
49
50     /**
51      * Constructor for UnauthorizedException.
52      * @param message
53      * @param cause
54      */

55     public UnauthorizedException(String JavaDoc message, Throwable JavaDoc cause) {
56         super(message, cause);
57     }
58
59     /**
60      * Constructor for UnauthorizedException.
61      * @param cause
62      */

63     public UnauthorizedException(Throwable JavaDoc cause) {
64         super(cause);
65     }
66
67 }
68
Popular Tags