| | |
| | | |
| | | import org.opends.server.core.DirectoryServer; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugCaught; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugEnabled; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.server.messages.MessageHandler.*; |
| | | import static org.opends.server.messages.UtilityMessages.*; |
| | |
| | | */ |
| | | public class EMailMessage |
| | | { |
| | | |
| | | /** |
| | | * The tracer object for the debug logger. |
| | | */ |
| | | private static final DebugTracer TRACER = getTracer(); |
| | | |
| | | |
| | | // The addresses of the recipients to whom this message should be sent. |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCaught(DebugLogLevel.ERROR, me); |
| | | TRACER.debugCaught(DebugLogLevel.ERROR, me); |
| | | } |
| | | |
| | | int msgID = MSGID_EMAILMSG_INVALID_SENDER_ADDRESS; |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCaught(DebugLogLevel.ERROR, me); |
| | | TRACER.debugCaught(DebugLogLevel.ERROR, me); |
| | | } |
| | | |
| | | int msgID = MSGID_EMAILMSG_INVALID_RECIPIENT_ADDRESS; |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCaught(DebugLogLevel.ERROR, sfe); |
| | | TRACER.debugCaught(DebugLogLevel.ERROR, sfe); |
| | | } |
| | | |
| | | // We'll ignore this and hope that another server is available. If not, |