org.apache.james.transport.remotedeliverytester
Class SMTPAddressFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.mail.MessagingException
              extended by org.apache.james.transport.remotedeliverytester.SMTPAddressFailedException
All Implemented Interfaces:
java.io.Serializable

public class SMTPAddressFailedException
extends javax.mail.MessagingException

See Also:
Serialized Form

Field Summary
protected  java.lang.String cmd
           
protected  int rc
           
 
Method Summary
 javax.mail.internet.InternetAddress getAddress()
          Retrieve the internet address associated with this exception.
 java.lang.String getCommand()
          Get the failing command string for the exception.
 int getReturnCode()
          The failing command return code.
 
Methods inherited from class javax.mail.MessagingException
getCause, getNextException, setNextException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cmd

protected java.lang.String cmd

rc

protected int rc
Method Detail

getCommand

public java.lang.String getCommand()
Get the failing command string for the exception.

Returns:
The string value of the failing command.

getReturnCode

public int getReturnCode()
The failing command return code.

Returns:
The failure return code.

getAddress

public javax.mail.internet.InternetAddress getAddress()
Retrieve the internet address associated with this exception.

Returns:
The provided InternetAddress object.


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.