01: /*
02: * Copyright 2001-2006 C:1 Financial Services GmbH
03: *
04: * This software is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License Version 2.1, as published by the Free Software Foundation.
07: *
08: * This software is distributed in the hope that it will be useful,
09: * but WITHOUT ANY WARRANTY; without even the implied warranty of
10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11: * Lesser General Public License for more details.
12: *
13: * You should have received a copy of the GNU Lesser General Public
14: * License along with this library; if not, write to the Free Software
15: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
16: */
17:
18: package de.finix.contelligent.client.gui;
19:
20: import de.finix.contelligent.client.base.ContelligentComponent;
21: import de.finix.contelligent.client.base.ContelligentException;
22: import de.finix.contelligent.client.i18n.Resources;
23:
24: /**
25: * The <code>UnsupportedGUIException</code> should be thrown if a special GUI
26: * for a component is requested but not implemented.
27: */
28: public class UnsupportedGUIException extends ContelligentException {
29:
30: public UnsupportedGUIException(String msg, Throwable t) {
31: super (msg, t);
32: }
33:
34: public UnsupportedGUIException(String msg) {
35: super (msg);
36: }
37:
38: public UnsupportedGUIException(Throwable t) {
39: super (t);
40: }
41:
42: public UnsupportedGUIException() {
43: super ();
44: }
45:
46: public UnsupportedGUIException(ContelligentComponent component) {
47: super (Resources.getLocalString("gui_not_supported",
48: new String[] { component.getName() }));
49: }
50: }
|