org.apache.james.mailboxmanager
Class MailboxNotFoundException

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.MailboxNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class MailboxNotFoundException
extends MailboxManagerException

Indicates that the failure is caused by a reference to a mailbox which does not exist.

See Also:
Serialized Form

Constructor Summary
MailboxNotFoundException(java.lang.String mailboxName)
           
 
Method Summary
 java.lang.String getMailboxName()
          Gets the name of the mailbox which cannot be found.
 
Methods inherited from class org.apache.james.mailboxmanager.MailboxManagerException
getCause, getMessage
 
Methods inherited from class javax.mail.MessagingException
getNextException, setNextException, toString
 
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

MailboxNotFoundException

public MailboxNotFoundException(java.lang.String mailboxName)
Parameters:
mailboxName - name of the mailbox, not null
Method Detail

getMailboxName

public final java.lang.String getMailboxName()
Gets the name of the mailbox which cannot be found.

Returns:
name


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