mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Email Server and EmailService in a working state.
- Fixed authentication - Fixed I18N - Fixed mimetype and encoding issues Changed 'avm' remote ports and hosts to be 'alfresco.rmi.services' as the 'avm' was starting to creep into non-avm stuff. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7281 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -24,7 +24,12 @@
|
||||
*/
|
||||
package org.alfresco.service.cmr.email;
|
||||
|
||||
import org.alfresco.i18n.I18NUtil;
|
||||
|
||||
/**
|
||||
* A checked and handled exception indicating a specific and well-known
|
||||
* email error condition.
|
||||
*
|
||||
* @since 2.2
|
||||
*/
|
||||
public class EmailMessageException extends RuntimeException
|
||||
@@ -32,36 +37,13 @@ public class EmailMessageException extends RuntimeException
|
||||
private static final long serialVersionUID = 5039365329619219256L;
|
||||
|
||||
/**
|
||||
* Empty contructor
|
||||
* @param message exception message.
|
||||
* @param params message arguments for I18N
|
||||
*
|
||||
* @see I18NUtil#getMessage(String, Object[])
|
||||
*/
|
||||
public EmailMessageException()
|
||||
public EmailMessageException(String message, Object ... params)
|
||||
{
|
||||
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param message exception message.
|
||||
* @param cause throwable object.
|
||||
*/
|
||||
public EmailMessageException(String message, Throwable cause)
|
||||
{
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param message exception message.
|
||||
*/
|
||||
public EmailMessageException(String message)
|
||||
{
|
||||
super(message);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param cause throwable object
|
||||
*/
|
||||
public EmailMessageException(Throwable cause)
|
||||
{
|
||||
super(cause);
|
||||
super(I18NUtil.getMessage(message, params));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user