com.sapportals.wcm.util.channels

Class PartialSendException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sapportals.wcm.WcmException
              extended by com.sapportals.wcm.util.channels.PartialSendException
All Implemented Interfaces:
Serializable

public class PartialSendException
extends WcmException

The PartialSendException indicates, that some recipients couldn't be addressed.

See Also:
IChannel, Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
PartialSendException(SendFailedException e)
          Create a PartialSendException from a javax.mail.SendFailedException.
 
Method Summary
 Address[] getInvalidAddresses()
          Return the addresses to which the message could not be sent.
 Address[] getValidSentAddresses()
          Return the addresses to which the message was sent succesfully.
 Address[] getValidUnsentAddresses()
          Return the addresses that are valid, but to which the message was not sent.
 
Methods inherited from class com.sapportals.wcm.WcmException
getContainedException, isLogged, setContainedException
 
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

PartialSendException

public PartialSendException(SendFailedException e)
Create a PartialSendException from a javax.mail.SendFailedException.

Method Detail

getValidSentAddresses

public Address[] getValidSentAddresses()
Return the addresses to which the message was sent succesfully.

Returns:
Addresses to which the message was sent successfully or null

getValidUnsentAddresses

public Address[] getValidUnsentAddresses()
Return the addresses that are valid, but to which the message was not sent.

Returns:
Addresses that are valid but to which the message was not sent successfully or null

getInvalidAddresses

public Address[] getInvalidAddresses()
Return the addresses to which the message could not be sent.

Returns:
Addresses to which the message sending failed or null
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice