org.apache.geronimo.javamail.transport.smtp
Class SMTPAddressSucceededException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.mail.MessagingException
              extended by org.apache.geronimo.javamail.transport.smtp.SMTPAddressSucceededException
All Implemented Interfaces:
Serializable

public class SMTPAddressSucceededException
extends MessagingException

See Also:
Serialized Form

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

Field Detail

cmd

protected String cmd

rc

protected int rc
Method Detail

getCommand

public 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 InternetAddress getAddress()
Retrieve the internet address associated with this exception.

Returns:
The provided InternetAddress object.


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.