KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > webdocwf > dods > access > AccessRightException


1 /**
2  * Title: WebDocWf AccessRightException<p>
3  * Description: AccessEvalException is thrown if a user is not allowed to perform a vertain access<p>
4  * Copyright: Copyright (c) Together Teamlösungen EDV-Dienstleistungen GmbH. under LGPL<p>
5  * Company: Together Teamlösungen EDV-Dienstleistungen GmbH.<p>
6  * @author Alfred Madl (a.madl@together.at)
7  * @version 1.0
8  */

9 package org.webdocwf.dods.access;
10
11 public class AccessRightException extends AccessException {
12
13     /**
14      * Construct an exception without a specified message.
15      *
16      * @param msg The message associated with the exception.
17      */

18     public AccessRightException(String JavaDoc msg) {
19         super(msg);
20     }
21
22     /**
23      * Construct an exception with a message and detail data.
24      *
25      * @param msg The message associated with the exception.
26      * @param inUsr The user for the access right check
27      * @param inOperation The desired operation
28      * @param inObj The accessed object
29      * @param inClassName The accessed class
30      * @param inAttrName The accessed attribute
31      * @param inValue The accessed value
32      * @param inOldValue The new value in set-operations
33      * @param inDatatype The datatype of the value
34      * @param inCmp_op The comparison operator for queries
35      */

36     public AccessRightException(String JavaDoc msg, User inUsr, String JavaDoc inOperation, SecureDO inObj, String JavaDoc inClassName, String JavaDoc inAttrName, String JavaDoc inValue, String JavaDoc inOldValue, String JavaDoc inDatatype, String JavaDoc inCmp_op) {
37         super(msg, inUsr, inOperation, inObj, inClassName, inAttrName, inValue,
38                 inOldValue, inDatatype, inCmp_op);
39     }
40 }
41
Popular Tags