01: //$Header: $
02: /*---------------- FILE HEADER ------------------------------------------
03: This file is part of deegree.
04: Copyright (C) 2001-2008 by:
05: Department of Geography, University of Bonn
06: http://www.giub.uni-bonn.de/deegree/
07: lat/lon GmbH
08: http://www.lat-lon.de
09:
10: This library is free software; you can redistribute it and/or
11: modify it under the terms of the GNU Lesser General Public
12: License as published by the Free Software Foundation; either
13: version 2.1 of the License, or (at your option) any later version.
14:
15: This library is distributed in the hope that it will be useful,
16: but WITHOUT ANY WARRANTY; without even the implied warranty of
17: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18: Lesser General Public License for more details.
19:
20: You should have received a copy of the GNU Lesser General Public
21: License along with this library; if not, write to the Free Software
22: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23:
24: Contact:
25:
26: Andreas Poth
27: lat/lon GmbH
28: Aennchenstr. 19
29: 53177 Bonn
30: Germany
31: E-Mail: poth@lat-lon.de
32:
33: Prof. Dr. Klaus Greve
34: Department of Geography
35: University of Bonn
36: Meckenheimer Allee 166
37: 53115 Bonn
38: Germany
39: E-Mail: greve@giub.uni-bonn.de
40:
41: ---------------------------------------------------------------------------*/
42:
43: package org.deegree.portal.standard.security.control;
44:
45: import org.deegree.framework.util.StringTools;
46: import org.deegree.portal.PortalException;
47:
48: /**
49: * TODO add documentation here
50: *
51: * @author <a href="mailto:elmasry@lat-lon.de">Moataz Elmasry</a>
52: * @author last edited by: $Author: elmasri$
53: *
54: * @version $Revision: $, $Date: 01-Mar-2007 10:17:12$
55: */
56: public class ClientConfigurationException extends PortalException {
57:
58: private static final long serialVersionUID = 4592829962709684514L;
59:
60: private String st = "drm-admin exception";
61:
62: /**
63: * @param msg
64: */
65: public ClientConfigurationException(String msg) {
66: super (msg);
67: }
68:
69: /**
70: * @param msg
71: * @param e
72: */
73: public ClientConfigurationException(String msg, Exception e) {
74: this (msg);
75: st = StringTools.stackTraceToString(e.getStackTrace());
76: }
77:
78: @Override
79: public String toString() {
80: return super .toString() + "\n" + st;
81: }
82: }
|