Class MailSizeExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.aquima.interactions.foundation.exception.MailSizeExceededException
- All Implemented Interfaces:
Serializable
Exception that occurs when the mail server does not allow the sending of the email due to the size of the email that exceeds the server's default allocated storage.
According to RFC 821 the status code of this type of error is 552 and means Requested mail action aborted due to exceeded storage allocation.
- Since:
- 9.8
- Author:
- Voicu Moldovan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.MailSizeExceededException
(String errorMessage) Constructor that sets only the error messageMailSizeExceededException
(String errorMessage, Throwable cause) Constructor that sets the error message but also the cause of the exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MailSizeExceededException
public MailSizeExceededException()Default constructor. -
MailSizeExceededException
Constructor that sets only the error message- Parameters:
errorMessage
- The massage that is transmitted along with this exception.
-
MailSizeExceededException
Constructor that sets the error message but also the cause of the exception.- Parameters:
errorMessage
- The massage that is transmitted along with this exception.cause
- The cause of the exception.
-