Jobs: Change Email Text for Filesize Exceeded

This commit is contained in:
Jonathan Jenne
2021-07-20 13:21:04 +02:00
parent 662c3f3ed4
commit b323445821
3 changed files with 14 additions and 4 deletions

View File

@@ -24,8 +24,11 @@ Public Class Exceptions
Public Class FileSizeLimitReachedException
Inherits ApplicationException
Public Const KEY_FILENAME = "FILENAME"
Public Sub New(pFilePath As String, pFileSizeLimitInMegaBytes As Integer)
MyBase.New($"At least one file exceeded the filesize limit of {pFileSizeLimitInMegaBytes}MB: {pFilePath}")
Data.Add(KEY_FILENAME, pFilePath)
End Sub
End Class