bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HttpdCatalogError.h
1// HttpdCatalogError.h
2// -*- mode: c++; c-basic-offset:4 -*-
3//
4// Copyright (c) 2018 OPeNDAP, Inc.
5// Author: Nathan Potter <ndp@opendap.org>
6//
7// This library is free software; you can redistribute it and/or
8// modify it under the terms of the GNU Lesser General Public
9// License as published by the Free Software Foundation; either
10// version 2.1 of the License, or (at your option) any later version.
11//
12// This library is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15// Lesser General Public License for more details.
16//
17// You should have received a copy of the GNU Lesser General Public
18// License along with this library; if not, write to the Free Software
19// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20//
21// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
22// Please read the full copyright statement in the file COPYRIGHT_URI.
23//
24#include <BESInternalError.h>
25
26#ifndef _HttpCatalogError_h_
27#define _HttpCatalogError_h_
28
29namespace httpd_catalog {
30
31class HttpdCatalogError: public BESInternalError {
32protected:
33 HttpdCatalogError()
34 {
35 }
36public:
37 HttpdCatalogError(const std::string &msg, const std::string &file, unsigned int line) :
38 BESInternalError("HttpCatalogError "+ msg, file, line)
39 {
40 }
41 virtual ~HttpdCatalogError()
42 {
43 }
44
45 virtual void dump(std::ostream &strm) const
46 {
47 strm << "HttpdCatalogError::dump - (" << (void *) this << ")" << endl;
48 BESIndent::Indent();
49 BESError::dump(strm);
50 BESIndent::UnIndent();
51 }
52};
53
54} /* namespace httpd_catalog */
55
56#endif /* _HttpCatalogError_h_ */
void dump(std::ostream &strm) const override
Displays debug information about this object.
Definition BESError.cc:59
virtual void dump(std::ostream &strm) const
Displays debug information about this object.