bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
CmrNotFoundError.h
1//
2// Created by ndp on 11/22/22.
3//
4
5
6// -*- mode: c++; c-basic-offset:4 -*-
7//
8// CmrInternalError.h
9//
10// This file is part of BES cmr_module
11//
12// Copyright (c) 2022 OPeNDAP, Inc.
13// Author: Nathan Potter <ndp@opendap.org>
14//
15// This library is free software; you can redistribute it and/or
16// modify it under the terms of the GNU Lesser General Public
17// License as published by the Free Software Foundation; either
18// version 2.1 of the License, or (at your option) any later version.
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 GNU
23// Lesser General Public License for more details.
24//
25// You should have received a copy of the GNU Lesser General Public
26// License along with this library; if not, write to the Free Software
27// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
28//
29// You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
30// Please read the full copyright statement in the file COPYRIGHT_URI.
31//
32
33#ifndef BES_CMRNOTFOUNDERROR_H
34#define BES_CMRNOTFOUNDERROR_H
35
36#include "config.h"
37#include <string>
38#include <ostream>
39
40
41#include "BESError.h"
42#include "BESNotFoundError.h"
43
44namespace cmr {
45
46class CmrNotFoundError: public BESNotFoundError {
47
48public:
49 CmrNotFoundError(const std::string &msg, const std::string &file, unsigned int line) :
50 BESNotFoundError("CmrNotFoundError " + msg, file, line)
51 { }
52
53 ~CmrNotFoundError() override = default;
54
55 void dump(std::ostream &strm) const override
56 {
57 strm << "CmrNotFoundError::dump - (" << (void *) this << ")" << std::endl;
58 BESIndent::Indent();
60 BESIndent::UnIndent();
61 }
62
63};
64
65} /* namespace cmr */
66
67#endif //BES_CMRNOTFOUNDERROR_H
void dump(std::ostream &strm) const override
Displays debug information about this object.
void dump(std::ostream &strm) const override
Displays debug information about this object.