public class MailException
extends java.lang.Exception
MailMessage
.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
Constructor and Description |
---|
MailException(java.lang.String message)
Constructs a
MailException with the specified detail
message. |
MailException(java.lang.String message,
java.lang.Throwable cause)
Constructs a
MailException with the specified detail
message and cause. |
private static final long serialVersionUID
public MailException(java.lang.String message)
MailException
with the specified detail
message.message
- (String) The detail error message.public MailException(java.lang.String message, java.lang.Throwable cause)
MailException
with the specified detail
message and cause.message
- (String) The detail error message.cause
- (Throwable) The cause for the exception.