com.ericdaugherty.mail.server.errors
Class TransientNegativeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ericdaugherty.mail.server.errors.TransientNegativeException
All Implemented Interfaces:
java.io.Serializable

public class TransientNegativeException
extends java.lang.Exception

4yz reply codes throw this exception. It results in stopping the SMTP client from trying to send this message and queuing it to be send later.

Author:
Andreas Kyrmegalos
See Also:
Serialized Form

Constructor Summary
TransientNegativeException(java.lang.Exception exception)
          Creates a new instance of TransientNegativeException without detail message.
TransientNegativeException(java.lang.String msg, java.lang.Exception exception)
          Constructs an instance of TransientNegativeException with the specified detail message.
 
Method Summary
 java.lang.Exception getException()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransientNegativeException

public TransientNegativeException(java.lang.Exception exception)
Creates a new instance of TransientNegativeException without detail message.


TransientNegativeException

public TransientNegativeException(java.lang.String msg,
                                  java.lang.Exception exception)
Constructs an instance of TransientNegativeException with the specified detail message.

Parameters:
msg - the detail message.
Method Detail

getException

public java.lang.Exception getException()