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

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.mail.MessagingException
              extended byorg.apache.geronimo.javamail.transport.smtp.SMTPAddressSucceededException
All Implemented Interfaces:
Serializable

public class SMTPAddressSucceededException
extends javax.mail.MessagingException

See Also:
Serialized Form

Field Summary
protected  String cmd
           
protected  int rc
           
 
Method Summary
 javax.mail.internet.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 javax.mail.internet.InternetAddress getAddress()
Retrieve the internet address associated with this exception.

Returns:
The provided InternetAddress object.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.