diff --git a/Modules/Core/Metadata/include/otbMetadataSupplierInterface.h b/Modules/Core/Metadata/include/otbMetadataSupplierInterface.h index 3efc3ef8e5d9705716ec95b0d4145b657738e52e..f98272105792fabb1b474430522d70a83f8da1a7 100644 --- a/Modules/Core/Metadata/include/otbMetadataSupplierInterface.h +++ b/Modules/Core/Metadata/include/otbMetadataSupplierInterface.h @@ -40,21 +40,7 @@ public: itkTypeMacro(MissingMetadataException, itk::ExceptionObject); /** Constructor. */ - MissingMetadataException(const char* file, unsigned int line, const char* message = "Missing metadata", const char* loc = "Unknown") - : itk::ExceptionObject(file, line, message, loc) - { - } - - /** Constructor. */ - MissingMetadataException(const std::string& file, unsigned int line, const char* message = "Missing metadata", const char* loc = "Unknown") - : itk::ExceptionObject(file, line, message, loc) - { - } - - MissingMetadataException(const std::string& file, unsigned int line, const std::string& message = "Missing metadata", const char* loc = "Unknown") - : itk::ExceptionObject(file, line, message, loc) - { - } + using itk::ExceptionObject::ExceptionObject; }; /** \class MetadataSupplierInterface