ZUGFeRDService: Add config option MaxAttachmentSizeInMegaBytes

This commit is contained in:
Jonathan Jenne
2021-07-13 13:38:54 +02:00
parent b81d6a1314
commit d8c534c3e3
7 changed files with 70 additions and 15 deletions

View File

@@ -21,6 +21,14 @@ Public Class Exceptions
End Sub
End Class
Public Class FileSizeLimitReachedException
Inherits ApplicationException
Public Sub New(pFilePath As String, pFileSizeLimitInMegaBytes As Integer)
MyBase.New($"At least one file exceeded the filesize limit of {pFileSizeLimitInMegaBytes}MB: {pFilePath}")
End Sub
End Class
Public Class InvalidFerdException
Inherits ApplicationException