Go to the source code of this file.
      
        
          | #define EPETRA_TEST_FOR_EXCEPTION | ( |  | throw_exception_test, | 
        
          |  |  |  | errCode, | 
        
          |  |  |  | msg | 
        
          |  | ) |  |  | 
      
 
Value:{ \
    const bool throw_exception = (throw_exception_test); \
    if(throw_exception) { \
        std::ostringstream omsg; \
      omsg \
        << __FILE__ << ":" << __LINE__ << ":" \
        << " Throw test that evaluated to true: "#throw_exception_test << ":" \
        << "Error message : " << msg; \
      throw ReportError(omsg.str(),errCode); \
    } \
}
Macro for testing for and throwing and int exception for objects derived from Epetra_Object. 
This macro adds the file name and line number to teh 
Definition at line 209 of file Epetra_Object.h.
 
 
  
  | 
        
          | std::ostream& operator<< | ( | std::ostream & | os, |  
          |  |  | const Epetra_Object & | obj |  
          |  | ) |  |  |  | inline |