Hermod
A cross-platform, modular and fully GDPR-compliant email archival solution!
Loading...
Searching...
No Matches
NotAPluginException.cs
Go to the documentation of this file.
1
using
System;
2
3
namespace
Hermod.Core.Exceptions
{
4
8
public
class
NotAPluginException
: Exception {
9
10
11
public
NotAPluginException
(FileInfo offendingFile): base(
"Attempted to load malformed or incompatible file type!"
) {
12
OffendingFile
= offendingFile;
13
}
14
18
public
FileInfo
OffendingFile
{
get
; }
19
20
public
override
string
ToString
() {
21
return
$
"{ Message }\nOffending file: { OffendingFile.FullName }"
;
22
}
23
}
24
}
25
Hermod.Core.Exceptions.NotAPluginException
Exception class that is thrown when an attempt is made to load a plugin which is not in an assembly.
Definition:
NotAPluginException.cs:8
Hermod.Core.Exceptions.NotAPluginException.OffendingFile
FileInfo OffendingFile
The file that caused this error.
Definition:
NotAPluginException.cs:18
Hermod.Core.Exceptions.NotAPluginException.ToString
override string ToString()
Definition:
NotAPluginException.cs:20
Hermod.Core.Exceptions.NotAPluginException.NotAPluginException
NotAPluginException(FileInfo offendingFile)
Definition:
NotAPluginException.cs:11
Hermod.Core.Exceptions
Definition:
CommandExecutionException.cs:3
Hermod.Core
Exceptions
NotAPluginException.cs
Generated by
1.9.6