01: /***************************************************************
02: * This file is part of the [fleXive](R) project.
03: *
04: * Copyright (c) 1999-2008
05: * UCS - unique computing solutions gmbh (http://www.ucs.at)
06: * All rights reserved
07: *
08: * The [fleXive](R) project is free software; you can redistribute
09: * it and/or modify it under the terms of the GNU General Public
10: * License as published by the Free Software Foundation;
11: * either version 2 of the License, or (at your option) any
12: * later version.
13: *
14: * The GNU General Public License can be found at
15: * http://www.gnu.org/copyleft/gpl.html.
16: * A copy is found in the textfile GPL.txt and important notices to the
17: * license from the author are found in LICENSE.txt distributed with
18: * these libraries.
19: *
20: * This library is distributed in the hope that it will be useful,
21: * but WITHOUT ANY WARRANTY; without even the implied warranty of
22: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23: * GNU General Public License for more details.
24: *
25: * For further information about UCS - unique computing solutions gmbh,
26: * please see the company website: http://www.ucs.at
27: *
28: * For further information about [fleXive](R), please see the
29: * project website: http://www.flexive.org
30: *
31: *
32: * This copyright notice MUST APPEAR in all copies of the file!
33: ***************************************************************/package com.flexive.shared.exceptions;
34:
35: import com.flexive.stream.StreamException;
36: import org.apache.commons.logging.Log;
37:
38: /**
39: * Streaming server exception(s)
40: *
41: * @author Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
42: */
43: public class FxStreamException extends FxApplicationException {
44: private static final long serialVersionUID = -8754514403395400542L;
45:
46: public FxStreamException(StreamException se) {
47: super (se, "ex.stream", se.getMessage());
48: }
49:
50: public FxStreamException(FxApplicationException converted) {
51: super (converted);
52: }
53:
54: public FxStreamException(Log log, FxApplicationException converted) {
55: super (log, converted);
56: }
57:
58: public FxStreamException(String key, Object... values) {
59: super (key, values);
60: }
61:
62: public FxStreamException(Log log, String key, Object... values) {
63: super (log, key, values);
64: }
65:
66: public FxStreamException(Throwable cause, String key,
67: Object... values) {
68: super (cause, key, values);
69: }
70:
71: public FxStreamException(Log log, Throwable cause, String key,
72: Object... values) {
73: super (log, cause, key, values);
74: }
75:
76: public FxStreamException(String key) {
77: super (key);
78: }
79:
80: public FxStreamException(Log log, String key) {
81: super (log, key);
82: }
83:
84: public FxStreamException(String message, Throwable cause) {
85: super (message, cause);
86: }
87:
88: public FxStreamException(Log log, String message, Throwable cause) {
89: super (log, message, cause);
90: }
91:
92: public FxStreamException(Throwable cause) {
93: super (cause);
94: }
95:
96: public FxStreamException(Log log, Throwable cause) {
97: super(log, cause);
98: }
99: }
|