Class TemporaryMessagingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.mail.MessagingException
com.novomind.ecom.api.imail.exception.TemporaryMessagingException
- All Implemented Interfaces:
Serializable
public class TemporaryMessagingException
extends jakarta.mail.MessagingException
The exception represents a temporary error during message processing
- Since:
- 10.0.42
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTemporaryMessagingException
(String message) TemporaryMessagingException
(String message, Exception e) -
Method Summary
Methods inherited from class jakarta.mail.MessagingException
getCause, getNextException, setNextException, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
TemporaryMessagingException
- Parameters:
message
- the detail message- Since:
- 10.0.42
-
TemporaryMessagingException
- Parameters:
message
- the detail messagee
- the embedded exception- Since:
- 10.0.42
-
-
Method Details
-
getDelay
The method returns the optional time to delay the message processing. If a delay is set the message will be processed in the next polling cycle after the specified delay time.- Returns:
- the optional delay duration time
- Since:
- 12.33
-
setDelay
Sets a duration time to enforce a delay before processing the message again.- Parameters:
delay
- the delay duration to wait before processing the message again- Returns:
- the instance for fluent usage
- Since:
- 12.33
-