Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Trilinos_LinearSolverSetupFailure.hpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Teuchos: Common Tools Package
4//
5// Copyright 2004 NTESS and the Teuchos contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10#ifndef TRILINOS_LINEAR_SOLVER_SETUP_FAILURE_HPP
11#define TRILINOS_LINEAR_SOLVER_SETUP_FAILURE_HPP
12
16
17#include "TeuchosRemainder_config.h"
18#include <stdexcept>
19#include <string>
20
23namespace Trilinos {
24
77class LinearSolverSetupFailure : public std::runtime_error {
78public:
79 LinearSolverSetupFailure (const std::string& msg) :
80 std::runtime_error (msg) {}
81 virtual ~LinearSolverSetupFailure () = default;
82};
83
84} // namespace Trilinos
85
86#endif // TRILINOS_LINEAR_SOLVER_SETUP_FAILURE_HPP
Exception reporting failure in setting up a linear solver.
Namespace of things generally useful to many Trilinos packages.