public class PostponeException
extends Exception
Constructor and Description |
---|
PostponeException(int recommendedDelay,
EnhancedStatus enhancedStatus,
String message)
Construct a new exception without a remote MTA, which must be set later.
|
Modifier and Type | Method and Description |
---|---|
EnhancedStatus |
getEnhancedStatus()
Returns the enhanced status which should be reported if no more
postponing is possible.
|
int |
getRecommendedDelay()
Returns the recommended delay until the host will likely become
available, in seconds.
|
MtaAddress |
getRemoteMta()
Returns the remote MTA for which the connection must be postponed.
|
void |
setRemoteMta(MtaAddress remoteMta)
Sets the remote MTA which will be returned by
getRemoteMta() |
public PostponeException(int recommendedDelay, EnhancedStatus enhancedStatus, String message)
public int getRecommendedDelay()
public EnhancedStatus getEnhancedStatus()
public void setRemoteMta(MtaAddress remoteMta)
getRemoteMta()
public MtaAddress getRemoteMta()