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