ZUGFeRDService: Add config option MaxAttachmentSizeInMegaBytes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user