com.openexchange.mail
Class MailException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.openexchange.groupware.AbstractOXException
              extended by com.openexchange.mail.MailException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MailConfigException, MIMEMailException

public class MailException
extends com.openexchange.groupware.AbstractOXException

MailException - Base class for mail exceptions.

The detail number range in subclasses generated in mail bundles is supposed to start with 2000 and may go up to 2999.

The detail number range in subclasses generated in transport bundles is supposed to start with 3000 and may go up to 3999.

Author:
Thorben Betten
See Also:
Serialized Form

Nested Class Summary
static class MailException.Code
           
 
Nested classes/interfaces inherited from class com.openexchange.groupware.AbstractOXException
com.openexchange.groupware.AbstractOXException.Category, com.openexchange.groupware.AbstractOXException.Parsing, com.openexchange.groupware.AbstractOXException.ProblematicAttribute, com.openexchange.groupware.AbstractOXException.Truncated
 
Field Summary
 
Fields inherited from class com.openexchange.groupware.AbstractOXException
DF, SERVER_ID
 
Constructor Summary
MailException(com.openexchange.groupware.AbstractOXException cause)
          Initializes a new MailException
MailException(com.openexchange.groupware.Component component, java.lang.String message, com.openexchange.groupware.AbstractOXException cause)
          Initializes a new MailException
MailException(MailException.Code code, java.lang.Object... messageArgs)
          Initializes a new MailException
MailException(MailException.Code code, java.lang.Throwable cause, java.lang.Object... messageArgs)
          Initializes a new MailException
 
Method Summary
 
Methods inherited from class com.openexchange.groupware.AbstractOXException
addProblematic, addTruncatedId, getCategory, getComponent, getDetailNumber, getErrorCode, getExceptionID, getLocale, getMessage, getMessageArgs, getOrigMessage, getProblematics, overrideExceptionID, setCategory, setComponent, setDetail, setDetailNumber, setLocale, setMessageArgs, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailException

public MailException(com.openexchange.groupware.AbstractOXException cause)
Initializes a new MailException

Parameters:
cause - The cause

MailException

public MailException(MailException.Code code,
                     java.lang.Object... messageArgs)
Initializes a new MailException

Parameters:
code - The code
messageArgs - The message arguments

MailException

public MailException(MailException.Code code,
                     java.lang.Throwable cause,
                     java.lang.Object... messageArgs)
Initializes a new MailException

Parameters:
code - The code
cause - The cause
messageArgs - The message arguments

MailException

public MailException(com.openexchange.groupware.Component component,
                     java.lang.String message,
                     com.openexchange.groupware.AbstractOXException cause)
Initializes a new MailException

Parameters:
component - The component
message - The message
cause - The cause