Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
23 namespace Trilinos {
24 
77 class LinearSolverSetupFailure : public std::runtime_error {
78 public:
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
virtual ~LinearSolverSetupFailure()=default
Exception reporting failure in setting up a linear solver.