com.lavantech.net.mail
Class AttachmentException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.lavantech.net.mail.AttachmentException
All Implemented Interfaces:
java.io.Serializable

public class AttachmentException
extends java.lang.Exception

An AttachmentException is thrown when an attachment in a Message is not accessible (doesn't exists or not readable) for mailing.

See Also:
Serialized Form

Constructor Summary
AttachmentException(java.lang.String msg, java.io.File file)
          Constructs an AttachmentException with a given message and file
 
Method Summary
 java.io.File getAttachmentFile()
          Returns the file that was not accessible for mailing.
 
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

AttachmentException

public AttachmentException(java.lang.String msg,
                           java.io.File file)
Constructs an AttachmentException with a given message and file

Method Detail

getAttachmentFile

public java.io.File getAttachmentFile()
Returns the file that was not accessible for mailing.