|
dune-common 2.11
|
Loading...
Searching...
No Matches
exceptions.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
314#define DUNE_THROW(E, ...) throw Dune::ExceptionStream(E()) << THROWSPEC(E) __VA_OPT__(<<) __VA_ARGS__
std::ostream & operator<<(std::ostream &s, const bigunsignedint< k > &x)
Definition bigunsignedint.hh:301
friend ExceptionStream operator<<(ExceptionStream &&es, std::ostream &(*t)(std::ostream &))
Stream operator for r-value ExceptionStream and io manipulator.
Definition exceptions.hh:270
static void registerHook(ExceptionHook *hook)
add a functor which is called before a Dune::Exception is emitted (see Dune::ExceptionHook)
Definition exceptions.cc:22
friend ExceptionStream operator<<(ExceptionStream &&es, T t)
Stream operator for r-value ExceptionStream and integral values.
Definition exceptions.hh:255
friend ExceptionStream & operator<<(ExceptionStream &es, T t)
Stream operator for l-value ExceptionStream and integral values.
Definition exceptions.hh:245
void message(const std::string &msg)
store string in internal message buffer
Definition exceptions.cc:32
friend ExceptionStream & operator<<(ExceptionStream &es, std::ostream &(*t)(std::ostream &))
Stream operator for l-value ExceptionStream and io manipulator.
Definition exceptions.hh:262
virtual void operator()()=0
const char * what() const noexcept override
output internal message buffer
Definition exceptions.cc:37
STL namespace.
Class for extending a Dune::Exception with a stream interface.
Definition exceptions.hh:201
Default exception if a function was called while the object is not in a valid state for that function...
Definition exceptions.hh:375
Default exception if an error in the parallel communication of the program occurred.
Definition exceptions.hh:381
T str(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8