|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.openexchange.groupware.AbstractOXException
com.openexchange.mail.MailException
com.openexchange.mail.mime.MIMEMailException
public class MIMEMailException
MIMEMailException - For MIME related errors.
Taken from MailException:
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.
| Nested Class Summary | |
|---|---|
static class |
MIMEMailException.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 |
| Method Summary | |
|---|---|
static MIMEMailException |
handleMessagingException(javax.mail.MessagingException e)
Handles given instance of MessagingException and creates an appropriate instance of MIMEMailException |
static MIMEMailException |
handleMessagingException(javax.mail.MessagingException e,
MailConfig mailConfig)
Handles given instance of MessagingException and creates an appropriate instance of MIMEMailException |
static MIMEMailException |
handleMessagingException(javax.mail.MessagingException e,
MailConfig mailConfig,
com.openexchange.session.Session session)
Handles given instance of MessagingException and creates an appropriate instance of MIMEMailException |
| 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 |
| Method Detail |
|---|
public static MIMEMailException handleMessagingException(javax.mail.MessagingException e)
MessagingException and creates an appropriate instance of MIMEMailException
This is just a convenience method that simply invokes handleMessagingException(MessagingException, MailConfig) with the
latter parameter set to null.
e - The messaging exception
MIMEMailException
public static MIMEMailException handleMessagingException(javax.mail.MessagingException e,
MailConfig mailConfig)
MessagingException and creates an appropriate instance of MIMEMailException
e - The messaging exceptionmailConfig - The corresponding mail configuration used to add information like mail server etc.
MIMEMailException
public static MIMEMailException handleMessagingException(javax.mail.MessagingException e,
MailConfig mailConfig,
com.openexchange.session.Session session)
MessagingException and creates an appropriate instance of MIMEMailException
e - The messaging exceptionmailConfig - The corresponding mail configuration used to add information like mail server etc.session - The session providing user information
MIMEMailException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||