Compoze Software, Inc.

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

Constructor Summary
AttachmentException()
          Constructor.
AttachmentException(java.lang.Exception e)
          Constructor.
AttachmentException(java.lang.Exception e, java.lang.String sMessage)
          Constructor.
AttachmentException(java.lang.String sMessage)
          Constructor.
AttachmentException(java.lang.Throwable t)
          Constructor.
AttachmentException(java.lang.Throwable t, java.lang.String sMessage)
          Constructor.
 
Method Summary
 java.util.List getFailedAttachmentList()
          Gets a list of filesnames of failed attachments.
 
Methods inherited from class com.compoze.exchange.ExchangeException
getResultCode, getUserMessage
 
Methods inherited from class com.compoze.util.NestedException
getNestedException, printStackTrace, printStackTrace, printStackTrace, toString
 
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
 

Constructor Detail

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 exception
sMessage - 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 throwable
sMessage - a detail message for the exception
Method Detail

getFailedAttachmentList


public java.util.List getFailedAttachmentList()
Gets a list of filesnames of failed attachments.

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.