1#ifndef UTIL_EXCEPTION_H
2#define UTIL_EXCEPTION_H
48 const char *file,
int line,
int echo = 1);
70 void write(std::ostream &out);
A user-defined exception.
std::string & message()
Return the error message.
void write(std::ostream &out)
Write error message to output stream.
std::string message_
Error message string.
virtual ~Exception()
Destructor.
Utility classes for scientific computation.
void MpiThrow(Exception &e)
Function to throw exception in MPI code.