public class LocalMailSystemException
extends Exception
Failures can be transient or permanent. For example disk full is a transient
error. Transient status is indicated by the errorStatus()
value.
Processing which was stopped by a transient exception should be retried
later. There should be a limit on the count of attempts, except if it is not
only likely, but it is sure, that the condition is temporary.
Constructor and Description |
---|
LocalMailSystemException(EnhancedStatus errorStatus)
Constructs a new exception where the message is coming from the
EnhancedStatus . |
LocalMailSystemException(String message,
EnhancedStatus errorStatus)
Constructs a new exception with the specified detail message.
|
LocalMailSystemException(Throwable cause,
EnhancedStatus errorStatus)
Constructs a new exception where the message is coming from the supplied
exception.
|
Modifier and Type | Method and Description |
---|---|
EnhancedStatus |
errorStatus() |
public LocalMailSystemException(EnhancedStatus errorStatus)
EnhancedStatus
.public LocalMailSystemException(String message, EnhancedStatus errorStatus)
public LocalMailSystemException(Throwable cause, EnhancedStatus errorStatus)
public EnhancedStatus errorStatus()