Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit cff73953 authored by COULAUD Olivier's avatar COULAUD Olivier
Browse files
parents d02236c6 66b83634
......@@ -23,11 +23,11 @@
/**
* @brief The SpError class
* @brief The FError class
* It is recommendede to use the macro:
* FAssertLF( aTest , "some data ", "to ", plot);
*/
class SpError {
class FError {
protected:
/**
* @brief ErrPrint private method to end print
......@@ -69,9 +69,9 @@ public:
// Sp error activated
//////////////////////////////////////////////////////////////
#define SpErrorAssertExit(TEST, args...) \
#define FErrorAssertExit(TEST, args...) \
if( !(TEST) ){ \
SpError::Print( args ); \
FError::Print( args ); \
throw std::exception(); \
}
......@@ -82,7 +82,7 @@ public:
// Sp error desactivated
//////////////////////////////////////////////////////////////
#define SpErrorAssertExit(TEST, args...) \
#define FErrorAssertExit(TEST, args...) \
if( !(TEST) ){}
......@@ -95,7 +95,7 @@ public:
#define SPARSETD_ERROR_LINE " At line " , __LINE__ , "."
#define SPARSETD_ERROR_FILE " In file " , __FILE__ , "."
#define FAssert SpErrorAssertExit
#define FAssert FErrorAssertExit
#define FAssertLF(args...) FAssert(args, SPARSETD_ERROR_LINE, SPARSETD_ERROR_FILE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment