CppNoddy  0.92
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CppNoddy::ExceptionExternal Class Reference

An exception to indicate that an error has been detected in an external (LAPACK) routine. More...

#include <Exceptions.h>

Inheritance diagram for CppNoddy::ExceptionExternal:

Public Member Functions

 ExceptionExternal (const std::string &problem, const int &ifail=0)
 

Detailed Description

An exception to indicate that an error has been detected in an external (LAPACK) routine.

Definition at line 20 of file Exceptions.h.

Constructor & Destructor Documentation

◆ ExceptionExternal()

CppNoddy::ExceptionExternal::ExceptionExternal ( const std::string &  problem,
const int &  ifail = 0 
)
inline

Definition at line 22 of file Exceptions.h.

22 :
23 std::runtime_error(problem) {
24#ifdef WHAT
25 error_header();
26 std::cout << problem << "\n";
27 std::cout << " External library failure \n";
28 std::cout << " Returned error code = " << ifail << "\n\n";
29#endif
30
31 }

The documentation for this class was generated from the following file:

© 2012

R.E. Hewitt