org.apache.james.mailboxmanager
Class MailboxExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.mail.MessagingException
              extended by org.apache.james.mailboxmanager.MailboxManagerException
                  extended by org.apache.james.mailboxmanager.MailboxExistsException
All Implemented Interfaces:
java.io.Serializable

public class MailboxExistsException
extends MailboxManagerException

Indicates that the operation failed since the mailbox already exists.

See Also:
Serialized Form

Constructor Summary
MailboxExistsException(java.lang.String mailboxName)
           
 
Method Summary
 java.lang.String getMailboxName()
          Gets the name of the mailbox which alredy exists.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.james.mailboxmanager.MailboxManagerException
getCause, getMessage
 
Methods inherited from class javax.mail.MessagingException
getNextException, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailboxExistsException

public MailboxExistsException(java.lang.String mailboxName)
Method Detail

getMailboxName

public final java.lang.String getMailboxName()
Gets the name of the mailbox which alredy exists.

Returns:
the mailboxName, not null

toString

public java.lang.String toString()
Overrides:
toString in class javax.mail.MessagingException


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.