X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkZeroVF.cxx;h=52b3a2af40784981ae0068bbaa52dccb86b4c533;hb=ed673c4df16c5541a1bd46413b4a67376b28008d;hp=65f46c4fb0277cd6cbfb01a328704a41852de9e8;hpb=1e034c70105f0926939acaaa27ddb46e904ae8bf;p=clitk.git diff --git a/tools/clitkZeroVF.cxx b/tools/clitkZeroVF.cxx index 65f46c4..52b3a2a 100644 --- a/tools/clitkZeroVF.cxx +++ b/tools/clitkZeroVF.cxx @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef clitkZeroVF_cxx #define clitkZeroVF_cxx @@ -31,6 +31,7 @@ #include "clitkZeroVF_ggo.h" #include "clitkIO.h" #include "clitkImageCommon.h" +#include "clitkCommon.h" #include "clitkZeroVFGenericFilter.h" int main( int argc, char *argv[] ) @@ -49,7 +50,7 @@ int main( int argc, char *argv[] ) zeroVFGenericFilter->SetVerbose(args_info.verbose_flag); //update - zeroVFGenericFilter->Update(); + CLITK_TRY_CATCH_EXIT(zeroVFGenericFilter->Update()); return EXIT_SUCCESS; } #endif