42 #ifndef TPETRA_EXCEPTIONS_DECL_HPP 43 #define TPETRA_EXCEPTIONS_DECL_HPP 45 #include <Tpetra_ConfigDefs.hpp> 79 template<
class GlobalOrdinal>
87 : std::domain_error (msg), glInd_ (globalIndex)
95 const GlobalOrdinal glInd_;
103 template<
class GlobalOrdinal>
118 #endif // TPETRA_EXCEPTIONS_DECL_HPP Namespace Tpetra contains the class and methods constituting the Tpetra library.
InvalidGlobalIndex(const std::string &msg, const GlobalOrdinal globalIndex)
Constructor.
InvalidGlobalRowIndex(const std::string &msg, const GlobalOrdinal globalIndex)
Constructor.
Implementation details of Tpetra.
Exception thrown by CrsMatrix on invalid global row index.
Exception thrown by CrsMatrix on invalid global index.
GlobalOrdinal offendingIndex() const
The offending global index.