]> Creatis software - clitk.git/blobdiff - tools/clitkResampleImage.cxx
more refined abort-on-exception mechanism
[clitk.git] / tools / clitkResampleImage.cxx
index 661e1839a86f5a9a4a3969d13a2ea0478a472b09..bd2f3747cc5e5d5c042eb6face19c04e7756b4fe 100644 (file)
@@ -33,7 +33,7 @@ int main(int argc, char * argv[])
   FilterType::Pointer filter = FilterType::New();
 
   filter->SetArgsInfo(args_info);
-  filter->Update();
+  CLITK_TRY_CATCH_EXIT(filter->Update());
 
   // this is the end my friend
   return EXIT_SUCCESS;