com.compoze.exchange.webdav
Class AttachmentException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.compoze.util.NestedException
|
+--com.compoze.exchange.ExchangeException
|
+--com.compoze.exchange.webdav.AttachmentException
- All Implemented Interfaces:
- java.io.Serializable
- public class AttachmentException
- extends ExchangeException
This class wraps the failure to add attachment(s) to a message
as excpetion. This exception provides a list (getFailedAttachments())
of filenames for those attachments that failed.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AttachmentException
public AttachmentException()
- Constructor.
AttachmentException
public AttachmentException(java.lang.String sMessage)
- Constructor.
- Parameters:
sMessage
- a detail message for the exception
AttachmentException
public AttachmentException(java.lang.Exception e)
- Constructor.
- Parameters:
e
- the underlying exception
AttachmentException
public AttachmentException(java.lang.Exception e,
java.lang.String sMessage)
- Constructor.
- Parameters:
e
- the underlying exceptionsMessage
- a detail message for the exception
AttachmentException
public AttachmentException(java.lang.Throwable t)
- Constructor.
- Parameters:
t
- the underlying throwable
AttachmentException
public AttachmentException(java.lang.Throwable t,
java.lang.String sMessage)
- Constructor.
- Parameters:
t
- the underlying throwablesMessage
- a detail message for the exception
getFailedAttachmentList
public java.util.List getFailedAttachmentList()
- Gets a list of filesnames of failed attachments.
Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.