com.ericdaugherty.mail.server.errors
Class PermanentNegativeException

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

public class PermanentNegativeException
extends java.lang.Exception

5yz reply codes throw this exception. It results in stopping any future attempts by the SMTP client to send the message and return the mail to the sender. Not all 5yz codes have to throw this exception.

Author:
Andreas Kyrmegalos
See Also:
Serialized Form

Constructor Summary
PermanentNegativeException()
          Creates a new instance of PermanentNegativeException without detail message.
PermanentNegativeException(java.lang.String msg)
          Constructs an instance of PermanentNegativeException with the specified detail message.
 
Method Summary
 
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

PermanentNegativeException

public PermanentNegativeException()
Creates a new instance of PermanentNegativeException without detail message.


PermanentNegativeException

public PermanentNegativeException(java.lang.String msg)
Constructs an instance of PermanentNegativeException with the specified detail message.

Parameters:
msg - the detail message.