Revision 886ee38919c7843dc3411ad7d9909c72c8bdd716 authored by Dmitri Naumov on 13 March 2021, 13:32:46 UTC, committed by Dmitri Naumov on 17 March 2021, 07:58:31 UTC
Since there are no invariants maintained by the XMLInterface
nor is the access restricted, the public memeber serves
same purpose with simpler implementation.

Also fix variable naming.
1 parent 9722d41
Raw File
Exceptions.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

#include <stdexcept>
#include <string>

namespace NumLib
{
struct AssemblyException : public std::runtime_error
{
    AssemblyException(std::string const& reason)
        : std::runtime_error{"Error in process' assembly: " + reason} {};
};
}  // namespace NumLib
back to top