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