10 #ifndef TPETRA_EXCEPTIONS_DECL_HPP
11 #define TPETRA_EXCEPTIONS_DECL_HPP
13 #include <Tpetra_ConfigDefs.hpp>
47 template<
class GlobalOrdinal>
55 : std::domain_error (msg), glInd_ (globalIndex)
63 const GlobalOrdinal glInd_;
71 template<
class GlobalOrdinal>
86 #endif // TPETRA_EXCEPTIONS_DECL_HPP
InvalidGlobalIndex(const std::string &msg, const GlobalOrdinal globalIndex)
Constructor.
InvalidGlobalRowIndex(const std::string &msg, const GlobalOrdinal globalIndex)
Constructor.
Exception thrown by CrsMatrix on invalid global row index.
Exception thrown by CrsMatrix on invalid global index.
GlobalOrdinal offendingIndex() const
The offending global index.