diff --git a/Testing/Code/BasicFilters/otbConcatenateVectorDataFilter.cxx b/Testing/Code/BasicFilters/otbConcatenateVectorDataFilter.cxx index b4fb360bfbd383544c15f959798f24a2c11ea6b1..12d3bca4474c24b5844fa5a94dc2637655fc6bc1 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");