All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hawkular.commons.email.internal.MsgLogger_$logger Maven / Gradle / Ivy

There is a newer version: 0.9.8.Final
Show newest version
package org.hawkular.commons.email.internal;

import java.io.Serializable;
import javax.annotation.Generated;
import java.lang.Throwable;
import java.lang.String;
import org.jboss.logging.Logger;

/**
 * Warning this class consists of generated code.
 */
@Generated(value = "org.jboss.logging.processor.generator.model.MessageLoggerImplementor", date = "2016-04-25T17:08:12+0200")
public class MsgLogger_$logger implements MsgLogger,Serializable {
    private static final long serialVersionUID = 1L;
    private static final String FQCN = MsgLogger_$logger.class.getName();
    public MsgLogger_$logger(final Logger log) {
        this.log = log;
    }
    protected final Logger log;
    @Override
    public final void exceptionPreparingMessage(final String address, final Throwable throwable) {
        log.logf(FQCN, org.jboss.logging.Logger.Level.ERROR, throwable, exceptionPreparingMessage$str(), address);
    }
    private static final String exceptionPreparingMessage = "HAWKCOMS100000: An exception has occurred while trying to prepare the message to [%s].";
    protected String exceptionPreparingMessage$str() {
        return exceptionPreparingMessage;
    }
    @Override
    public final void exceptionSendingMessage(final String address, final Throwable throwable) {
        log.logf(FQCN, org.jboss.logging.Logger.Level.ERROR, throwable, exceptionSendingMessage$str(), address);
    }
    private static final String exceptionSendingMessage = "HAWKCOMS100001: An exception has occurred while sending the message to [%s].";
    protected String exceptionSendingMessage$str() {
        return exceptionSendingMessage;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy