com.ericdaugherty.mail.server.errors
Class TooManyErrorsException

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

public class TooManyErrorsException
extends java.lang.Exception

If a POP3 or SMTP server session reaches the maximum error threshold this exception is thrown. The session subsequently closes.

Author:
Andreas Kyrmegalos
See Also:
Serialized Form

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

TooManyErrorsException

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


TooManyErrorsException

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

Parameters:
msg - the detail message.