001: /***************************************************************
002: * This file is part of the [fleXive](R) project.
003: *
004: * Copyright (c) 1999-2008
005: * UCS - unique computing solutions gmbh (http://www.ucs.at)
006: * All rights reserved
007: *
008: * The [fleXive](R) project is free software; you can redistribute
009: * it and/or modify it under the terms of the GNU General Public
010: * License as published by the Free Software Foundation;
011: * either version 2 of the License, or (at your option) any
012: * later version.
013: *
014: * The GNU General Public License can be found at
015: * http://www.gnu.org/copyleft/gpl.html.
016: * A copy is found in the textfile GPL.txt and important notices to the
017: * license from the author are found in LICENSE.txt distributed with
018: * these libraries.
019: *
020: * This library is distributed in the hope that it will be useful,
021: * but WITHOUT ANY WARRANTY; without even the implied warranty of
022: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
023: * GNU General Public License for more details.
024: *
025: * For further information about UCS - unique computing solutions gmbh,
026: * please see the company website: http://www.ucs.at
027: *
028: * For further information about [fleXive](R), please see the
029: * project website: http://www.flexive.org
030: *
031: *
032: * This copyright notice MUST APPEAR in all copies of the file!
033: ***************************************************************/package com.flexive.shared.exceptions;
034:
035: import org.apache.commons.logging.Log;
036:
037: /**
038: * Exception that can occur whenever access to "something" is denied (localized)
039: *
040: * @author Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
041: */
042: public class FxNoAccessException extends FxApplicationException {
043: private static final long serialVersionUID = 5662164266887134937L;
044:
045: /**
046: * Localized exception constructor
047: *
048: * @param converted
049: */
050: public FxNoAccessException(FxApplicationException converted) {
051: super (converted);
052: }
053:
054: /**
055: * Localized exception constructor
056: *
057: * @param log
058: * @param converted
059: */
060: public FxNoAccessException(Log log, FxApplicationException converted) {
061: super (log, converted);
062: }
063:
064: /**
065: * Localized exception constructor
066: *
067: * @param key
068: * @param values
069: */
070: public FxNoAccessException(String key, Object... values) {
071: super (key, values);
072: }
073:
074: /**
075: * Localized exception constructor
076: *
077: * @param log
078: * @param key
079: * @param values
080: */
081: public FxNoAccessException(Log log, String key, Object... values) {
082: super (log, key, values);
083: }
084:
085: /**
086: * Localized exception constructor
087: *
088: * @param cause
089: * @param key
090: * @param values
091: */
092: public FxNoAccessException(Throwable cause, String key,
093: Object... values) {
094: super (cause, key, values);
095: }
096:
097: /**
098: * Localized exception constructor
099: *
100: * @param log
101: * @param cause
102: * @param key
103: * @param values
104: */
105: public FxNoAccessException(Log log, Throwable cause, String key,
106: Object... values) {
107: super (log, cause, key, values);
108: }
109:
110: /**
111: * Localized exception constructor
112: *
113: * @param key
114: */
115: public FxNoAccessException(String key) {
116: super (key);
117: }
118:
119: /**
120: * Localized exception constructor
121: *
122: * @param log
123: * @param key
124: */
125: public FxNoAccessException(Log log, String key) {
126: super (log, key);
127: }
128:
129: /**
130: * Localized exception constructor
131: *
132: * @param message
133: * @param cause
134: */
135: public FxNoAccessException(String message, Throwable cause) {
136: super (message, cause);
137: }
138:
139: /**
140: * Localized exception constructor
141: *
142: * @param log
143: * @param message
144: * @param cause
145: */
146: public FxNoAccessException(Log log, String message, Throwable cause) {
147: super (log, message, cause);
148: }
149:
150: /**
151: * Localized exception constructor
152: *
153: * @param cause
154: */
155: public FxNoAccessException(Throwable cause) {
156: super (cause);
157: }
158:
159: /**
160: * Localized exception constructor
161: *
162: * @param log
163: * @param cause
164: */
165: public FxNoAccessException(Log log, Throwable cause) {
166: super (log, cause);
167: }
168:
169: /**
170: * {@inheritDoc}
171: */
172: @Override
173: public FxNoAccessException setAffectedXPath(String affectedXPath) {
174: super.setAffectedXPath(affectedXPath);
175: return this;
176: }
177: }
|