From 111031970969b6c0b0f9ddd5dddb8c601a9a4e7a Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Sun, 15 May 2011 09:56:59 +0200 Subject: [PATCH] TEST: don't catch the exception in the test --- .../BasicFilters/otbConcatenateVectorDataFilter.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Testing/Code/BasicFilters/otbConcatenateVectorDataFilter.cxx b/Testing/Code/BasicFilters/otbConcatenateVectorDataFilter.cxx index b4fb360bfb..12d3bca447 100644 --- a/Testing/Code/BasicFilters/otbConcatenateVectorDataFilter.cxx +++ b/Testing/Code/BasicFilters/otbConcatenateVectorDataFilter.cxx @@ -48,16 +48,7 @@ int otbConcatenateVectorDataFilter (int argc, char * argv[]) typedef otb::CommandLineArgumentParseResult ParserResultType; ParserResultType::Pointer parseResult = ParserResultType::New(); - - try - { - parser->ParseCommandLine(argc, argv, parseResult); - } - catch ( itk::ExceptionObject & err ) - { - return EXIT_FAILURE; - } - + parser->ParseCommandLine(argc, argv, parseResult); // Get number of input vectorDatas unsigned int nbInputs = parseResult->GetNumberOfParameters("--InputVectorDatas"); -- GitLab