ENH: additional method for switching error throwing on/off (issue #552)
- error::throwExceptions(bool) returning the previous state makes it easier to set and restore states. - throwing() method to query the current handling (if required). - the normal error::throwExceptions() and error::dontThrowExceptions() also return the previous state, to make it easier to restore later.
Showing
- applications/test/faces/Test-faces.C 2 additions, 2 deletionsapplications/test/faces/Test-faces.C
- applications/utilities/postProcessing/postProcess/postProcess.C 5 additions, 2 deletions...ations/utilities/postProcessing/postProcess/postProcess.C
- src/OpenFOAM/db/IOobject/IOobjectReadHeader.C 1 addition, 1 deletionsrc/OpenFOAM/db/IOobject/IOobjectReadHeader.C
- src/OpenFOAM/db/error/IOerror.C 23 additions, 16 deletionssrc/OpenFOAM/db/error/IOerror.C
- src/OpenFOAM/db/error/error.C 20 additions, 10 deletionssrc/OpenFOAM/db/error/error.C
- src/OpenFOAM/db/error/error.H 42 additions, 23 deletionssrc/OpenFOAM/db/error/error.H
- src/OpenFOAM/db/error/messageStream.C 3 additions, 3 deletionssrc/OpenFOAM/db/error/messageStream.C
- src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C 8 additions, 4 deletions...b/functionObjects/functionObjectList/functionObjectList.C
Please register or sign in to comment