Hermod
A cross-platform, modular and fully GDPR-compliant email archival solution!
Loading...
Searching...
No Matches
InvalidDomainNameException.cs
Go to the documentation of this file.
1using System;
2
4
8 public class InvalidDomainNameException: Exception {
9
10 public InvalidDomainNameException(string msg): base(msg) { }
11
12 public InvalidDomainNameException(string domainName, string msg) : base(msg) {
13 DomainName = domainName;
14 }
15
19 public string? DomainName { get; }
20 }
21}
22
Exception class that is thrown when an invalid domain name is encountered.