10#ifndef TPETRA_EXCEPTIONS_DECL_HPP
11#define TPETRA_EXCEPTIONS_DECL_HPP
13#include <Tpetra_ConfigDefs.hpp>
47template <
class GlobalOrdinal>
55 : std::domain_error(msg)
56 , glInd_(globalIndex) {}
63 const GlobalOrdinal glInd_;
71template <
class GlobalOrdinal>
InvalidGlobalIndex(const std::string &msg, const GlobalOrdinal globalIndex)
Constructor.
GlobalOrdinal offendingIndex() const
The offending global 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.