COMP: Deprecated exception-specifications
Several filters have exception-specifications (that have been deprecated with C++11, and removed from C++17).
At first, I though it was because ITK had them in ImageToImageFilter
, and yet I found no trace of them. This was a bad design choice, and now a deprecated one, that should be fixed, and that needs to be fixed starting with C++17.
I found occurrences of throw *(
in:
./Core/ObjectList/include/otbImageList.h: throw (itk::InvalidRequestedRegionError) override;
./Core/ObjectList/include/otbImageList.hxx:::PropagateRequestedRegion() throw (itk::InvalidRequestedRegionError)
./Feature/Edge/include/otbLineDetectorImageFilterBase.hxx:::GenerateInputRequestedRegion() throw (itk::InvalidRequestedRegionError)
./Feature/Edge/include/otbTouziEdgeDetectorImageFilter.hxx: TOutputImageDirection>::GenerateInputRequestedRegion() throw (
./Feature/Edge/include/otbPixelSuppressionByDirectionImageFilter.h: throw(itk::InvalidRequestedRegionError) override;
./Feature/Edge/include/otbTouziEdgeDetectorImageFilter.h: throw(itk::InvalidRequestedRegionError) override;
./Feature/Edge/include/otbPixelSuppressionByDirectionImageFilter.hxx:void PixelSuppressionByDirectionImageFilter<TInputImage, TOutputImage>::GenerateInputRequestedRegion() throw (
./Feature/Edge/include/otbLineDetectorImageFilterBase.h: throw(itk::InvalidRequestedRegionError) override;
./Registration/DisparityMap/include/otbDisparityMapMedianFilter.hxx:::GenerateInputRequestedRegion() throw (itk::InvalidRequestedRegionError)
./Registration/DisparityMap/include/otbDisparityMapMedianFilter.h: void GenerateInputRequestedRegion() throw(itk::InvalidRequestedRegionError) override;
./Visualization/MonteverdiCore/include/mvdAbstractWorker.h: void Do() throw();
./Visualization/MonteverdiCore/include/mvdSystemError.h: ~SystemError() throw() override {};
./Visualization/MonteverdiCore/src/mvdAbstractWorker.cxx:::Do() throw()
./Filtering/Statistics/include/otbVarianceImageFilter.hxx:::GenerateInputRequestedRegion() throw (itk::InvalidRequestedRegionError)
./Filtering/Statistics/include/otbVarianceImageFilter.h: throw(itk::InvalidRequestedRegionError) override;
./Filtering/ImageNoise/include/otbFrostImageFilter.h: throw(itk::InvalidRequestedRegionError) override;
./Filtering/ImageNoise/include/otbLeeImageFilter.h: throw(itk::InvalidRequestedRegionError) override;
./Filtering/ImageNoise/include/otbKuanImageFilter.hxx:void KuanImageFilter<TInputImage, TOutputImage>::GenerateInputRequestedRegion() throw (itk::InvalidRequestedRegionError)
./Filtering/ImageNoise/include/otbGammaMAPImageFilter.h: throw(itk::InvalidRequestedRegionError) override;
./Filtering/ImageNoise/include/otbFrostImageFilter.hxx:void FrostImageFilter<TInputImage, TOutputImage>::GenerateInputRequestedRegion() throw (
./Filtering/ImageNoise/include/otbGammaMAPImageFilter.hxx:void GammaMAPImageFilter<TInputImage, TOutputImage>::GenerateInputRequestedRegion() throw (itk::InvalidRequestedRegionError)
./Filtering/ImageNoise/include/otbKuanImageFilter.h: throw(itk::InvalidRequestedRegionError) override;
./Filtering/ImageNoise/include/otbLeeImageFilter.hxx:void LeeImageFilter<TInputImage, TOutputImage>::GenerateInputRequestedRegion() throw (itk::InvalidRequestedRegionError)
./Filtering/Convolution/include/otbConvolutionImageFilter.hxx:::GenerateInputRequestedRegion() throw (itk::InvalidRequestedRegionError)
./Filtering/Convolution/include/otbConvolutionImageFilter.h: throw(itk::InvalidRequestedRegionError) override;
./Filtering/Wavelet/include/otbWaveletFilterBank.h: throw (itk::InvalidRequestedRegionError) override;
./Filtering/Wavelet/include/otbWaveletFilterBank.h: throw (itk::InvalidRequestedRegionError) override;
./Filtering/Wavelet/include/otbWaveletFilterBank.hxx:throw (itk::InvalidRequestedRegionError)
./Filtering/Wavelet/include/otbWaveletFilterBank.hxx:throw (itk::InvalidRequestedRegionError)
./Learning/Markov/include/otbMarkovRandomFieldFilter.h: throw (itk::ExceptionObject);
./Learning/Markov/include/otbMarkovRandomFieldFilter.hxx:::Initialize() throw (itk::ExceptionObject)