diff --git a/Frends.FTP.UploadFiles/Frends.FTP.UploadFiles/Definitions/SingleFileTransfer.cs b/Frends.FTP.UploadFiles/Frends.FTP.UploadFiles/Definitions/SingleFileTransfer.cs
index 9885d1a..33f0513 100644
--- a/Frends.FTP.UploadFiles/Frends.FTP.UploadFiles/Definitions/SingleFileTransfer.cs
+++ b/Frends.FTP.UploadFiles/Frends.FTP.UploadFiles/Definitions/SingleFileTransfer.cs
@@ -407,12 +407,14 @@ private void Trace(TransferState state, string format, params object[] args)
///
/// Exception class for more specific Exception name.
///
- ///
- /// Exception message.
- ///
- ///
- public class DestinationFileExistsException(string fileName) : Exception($"Unable to transfer file. Destination file already exists: {fileName}")
+ public class DestinationFileExistsException : Exception
{
+ ///
+ /// Exception message.
+ ///
+ ///
+ public DestinationFileExistsException(string fileName)
+ : base($"Unable to transfer file. Destination file already exists: {fileName}") { }
}
}
}
\ No newline at end of file