atg.userprofiling.email
Class InvalidRecipientAddressException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by atg.core.exception.ContainerException
              extended by atg.userprofiling.email.TemplateEmailException
                  extended by atg.userprofiling.email.InvalidRecipientAddressException
All Implemented Interfaces:
ContainableException, java.io.Serializable

public class InvalidRecipientAddressException
extends TemplateEmailException

A subclass of TemplateEmailException that occurs when an email Message is being constructed for a particular recipient, and the recipient's email address turns out to be invalid.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
InvalidRecipientAddressException(java.lang.String pString, javax.mail.Message pEmailMessage)
          Constructs a new InvalidRecipientAddressException with the given explanation and email Message object.
InvalidRecipientAddressException(java.lang.String pString, java.lang.String pInvalidRecipientAddress, javax.mail.Message pEmailMessage)
          Constructs a new InvalidRecipientAddressException with the given explanation, invalid recipient address, and email Message object.
InvalidRecipientAddressException(java.lang.String pString, java.lang.String pInvalidRecipientAddress, javax.mail.Message pEmailMessage, java.lang.Throwable pRootCause)
          Constructs a new InvalidRecipientAddressException with the given explanation, invalid recipient address, email Message object, and root exception.
 
Method Summary
 javax.mail.Message getEmailMessage()
          Returns the email Message object whose recipient field could not be set because of the invalid email address.
 java.lang.String getInvalidRecipientAddress()
          Returns the invalid recipient address.
 
Methods inherited from class atg.userprofiling.email.TemplateEmailException
getRootCause
 
Methods inherited from class atg.core.exception.ContainerException
getSourceException, printStackTrace, printStackTrace, printStackTrace, printStackTrace, setSourceException, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

InvalidRecipientAddressException

public InvalidRecipientAddressException(java.lang.String pString,
                                        javax.mail.Message pEmailMessage)
Constructs a new InvalidRecipientAddressException with the given explanation and email Message object.


InvalidRecipientAddressException

public InvalidRecipientAddressException(java.lang.String pString,
                                        java.lang.String pInvalidRecipientAddress,
                                        javax.mail.Message pEmailMessage)
Constructs a new InvalidRecipientAddressException with the given explanation, invalid recipient address, and email Message object.


InvalidRecipientAddressException

public InvalidRecipientAddressException(java.lang.String pString,
                                        java.lang.String pInvalidRecipientAddress,
                                        javax.mail.Message pEmailMessage,
                                        java.lang.Throwable pRootCause)
Constructs a new InvalidRecipientAddressException with the given explanation, invalid recipient address, email Message object, and root exception.

Method Detail

getInvalidRecipientAddress

public java.lang.String getInvalidRecipientAddress()
Returns the invalid recipient address.


getEmailMessage

public javax.mail.Message getEmailMessage()
Returns the email Message object whose recipient field could not be set because of the invalid email address.