PeterO.Mail.MessageDataException
## PeterO.Mail.MessageDataException
public sealed class MessageDataException : System.Exception, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
Exception thrown when a message has invalid syntax. This library may throw exceptions of this type in certain cases, notably when errors occur, and may supply messages to those exceptions (the message can be accessed through the Message
property in.NET or the getMessage()
method in Java). These messages are intended to be read by humans to help diagnose the error (or other cause of the exception); they are not intended to be parsed by computer programs, and the exact text of the messages may change at any time between versions of this library.
Member Summary
### MessageDataException Constructor
public MessageDataException( string message);
Initializes a new instance of the PeterO.Mail.MessageDataException class.
Parameters:
- message: A string to use as the exception message.
### MessageDataException Constructor
public MessageDataException( string message, System.Exception innerException);
Initializes a new instance of the PeterO.Mail.MessageDataException class.
Parameters:
-
message: A string to use as the exception message.
-
innerException: The parameter innerException is an Exception object.
### MessageDataException Constructor
public MessageDataException();
Initializes a new instance of the PeterO.Mail.MessageDataException class.