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:
Derek Hulley
2007-11-02 13:55:07 +00:00
parent ae37e5c139
commit 488127f5a8
29 changed files with 684 additions and 658 deletions

View File

@@ -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));
}
}