com.plexobject.mail.bulk
Class BulkMessageException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.mail.MessagingException
                    |
                    +--javax.mail.SendFailedException
                          |
                          +--com.plexobject.mail.bulk.BulkMessageException
All Implemented Interfaces:
java.io.Serializable

public class BulkMessageException
extends javax.mail.SendFailedException

See Also:
Serialized Form

Constructor Summary
BulkMessageException(java.lang.String s, java.util.ArrayList ex, javax.mail.Address[] validSent, javax.mail.Address[] validUnsent, javax.mail.Address[] invalid)
          Constructs a BulkMessageException with detailed message and list of nested exceptions
 
Method Summary
 java.lang.Exception getException(int i)
          getExceptions returns list of exceptions
 int getExceptionCount()
          getExceptionCount returns number of exceptions
 java.util.ArrayList getExceptions()
          getExceptions returns list of exceptions
 void printStackTrace(java.io.PrintStream out)
           
 void printStackTrace(java.io.PrintWriter out)
           
 
Methods inherited from class javax.mail.SendFailedException
getInvalidAddresses, getValidSentAddresses, getValidUnsentAddresses
 
Methods inherited from class javax.mail.MessagingException
getMessage, getNextException, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BulkMessageException

public BulkMessageException(java.lang.String s,
                            java.util.ArrayList ex,
                            javax.mail.Address[] validSent,
                            javax.mail.Address[] validUnsent,
                            javax.mail.Address[] invalid)
Constructs a BulkMessageException with detailed message and list of nested exceptions

Parameters:
s - - message
ex - - list of exceptions
Method Detail

getExceptionCount

public int getExceptionCount()
getExceptionCount returns number of exceptions


getExceptions

public java.util.ArrayList getExceptions()
getExceptions returns list of exceptions


getException

public java.lang.Exception getException(int i)
getExceptions returns list of exceptions


printStackTrace

public void printStackTrace(java.io.PrintStream out)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter out)
Overrides:
printStackTrace in class java.lang.Throwable