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 dealing with an invalid language (localized)
039: *
040: * @author Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
041: */
042: public class FxInvalidLanguageException extends FxApplicationException {
043: private static final long serialVersionUID = 4942313649625902223L;
044:
045: /**
046: * Localized exception constructor
047: *
048: * @param converted
049: */
050: public FxInvalidLanguageException(FxApplicationException converted) {
051: super (converted);
052: }
053:
054: /**
055: * Localized exception constructor
056: *
057: * @param log
058: * @param converted
059: */
060: public FxInvalidLanguageException(Log log,
061: FxApplicationException converted) {
062: super (log, converted);
063: }
064:
065: /**
066: * Localized exception constructor
067: *
068: * @param key
069: * @param values
070: */
071: public FxInvalidLanguageException(String key, Object... values) {
072: super (key, values);
073: }
074:
075: /**
076: * Localized exception constructor
077: *
078: * @param log
079: * @param key
080: * @param values
081: */
082: public FxInvalidLanguageException(Log log, String key,
083: Object... values) {
084: super (log, key, values);
085: }
086:
087: /**
088: * Localized exception constructor
089: *
090: * @param cause
091: * @param key
092: * @param values
093: */
094: public FxInvalidLanguageException(Throwable cause, String key,
095: Object... values) {
096: super (cause, key, values);
097: }
098:
099: /**
100: * Localized exception constructor
101: *
102: * @param log
103: * @param cause
104: * @param key
105: * @param values
106: */
107: public FxInvalidLanguageException(Log log, Throwable cause,
108: String key, Object... values) {
109: super (log, cause, key, values);
110: }
111:
112: /**
113: * Localized exception constructor
114: *
115: * @param key
116: */
117: public FxInvalidLanguageException(String key) {
118: super (key);
119: }
120:
121: /**
122: * Localized exception constructor
123: *
124: * @param log
125: * @param key
126: */
127: public FxInvalidLanguageException(Log log, String key) {
128: super (log, key);
129: }
130:
131: /**
132: * Localized exception constructor
133: *
134: * @param message
135: * @param cause
136: */
137: public FxInvalidLanguageException(String message, Throwable cause) {
138: super (message, cause);
139: }
140:
141: /**
142: * Localized exception constructor
143: *
144: * @param log
145: * @param message
146: * @param cause
147: */
148: public FxInvalidLanguageException(Log log, String message,
149: Throwable cause) {
150: super (log, message, cause);
151: }
152:
153: /**
154: * Localized exception constructor
155: *
156: * @param cause
157: */
158: public FxInvalidLanguageException(Throwable cause) {
159: super (cause);
160: }
161:
162: /**
163: * Localized exception constructor
164: *
165: * @param log
166: * @param cause
167: */
168: public FxInvalidLanguageException(Log log, Throwable cause) {
169: super(log, cause);
170: }
171: }
|