001    //$HeadURL: https://svn.wald.intevation.org/svn/deegree/base/branches/2.3_testing/src/org/deegree/portal/standard/sos/SOSClientException.java $
002    
003    /*----------------------------------------------------------------------------
004     This file is part of deegree, http://deegree.org/
005     Copyright (C) 2001-2009 by:
006       Department of Geography, University of Bonn
007     and
008       lat/lon GmbH
009    
010     This library is free software; you can redistribute it and/or modify it under
011     the terms of the GNU Lesser General Public License as published by the Free
012     Software Foundation; either version 2.1 of the License, or (at your option)
013     any later version.
014     This library is distributed in the hope that it will be useful, but WITHOUT
015     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
016     FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
017     details.
018     You should have received a copy of the GNU Lesser General Public License
019     along with this library; if not, write to the Free Software Foundation, Inc.,
020     59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
021    
022     Contact information:
023    
024     lat/lon GmbH
025     Aennchenstr. 19, 53177 Bonn
026     Germany
027     http://lat-lon.de/
028    
029     Department of Geography, University of Bonn
030     Prof. Dr. Klaus Greve
031     Postfach 1147, 53001 Bonn
032     Germany
033     http://www.geographie.uni-bonn.de/deegree/
034    
035     e-mail: info@deegree.org
036    ----------------------------------------------------------------------------*/
037    package org.deegree.portal.standard.sos;
038    
039    import org.deegree.framework.util.StringTools;
040    import org.deegree.portal.PortalException;
041    
042    /**
043     *
044     * @author <a href="mailto:che@wupperverband.de>Christian Heier</a>
045     * @author last edited by: $Author: mays$
046     *
047     * @version $Revision: 18195 $, $Date: 28.05.2008 17:08:46$
048     */
049    public class SOSClientException extends PortalException {
050    
051        private static final long serialVersionUID = 6624884594209068372L;
052    
053        /**
054         * Creates a new instance of <code>SOSClientExceptionn</code> without detail message.
055         */
056        public SOSClientException() {
057            st = "SOSClientException";
058        }
059    
060        /**
061         * Constructs an instance of <code>SOSClientException</code> with the specified detail message.
062         * @param msg the detail message.
063         */
064        public SOSClientException( String msg ) {
065            super( msg );
066            st = "SOSClientException";
067        }
068    
069        /**
070         * Constructs an instance of <code>SOSClientException</code> with the specified detail message.
071         * @param msg the detail message.
072         * @param e
073         */
074        public SOSClientException( String msg, Exception e ) {
075            this( msg );
076            st = StringTools.stackTraceToString( e.getStackTrace() );
077        }
078    
079    }