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

com.mindscapehq.raygun4java.core.RaygunOnFailedSendChain Maven / Gradle / Ivy

package com.mindscapehq.raygun4java.core;

import com.mindscapehq.raygun4java.core.messages.RaygunMessage;

import java.util.List;

/**
 * This is a OnFailedSend chain handler.
 *
 * Instances are not shared between RaygunClient instances
 */
public class RaygunOnFailedSendChain extends AbstractRaygunOnSendEventChain implements IRaygunOnFailedSend {
    public RaygunOnFailedSendChain(List handlers) {
        super(handlers);
    }

    public String handle(RaygunClient client, IRaygunOnFailedSend handler, String message) {
        return handler.onFailedSend(client, message);
    }

    public String onFailedSend(RaygunClient client, String message) {
        return handle(client, message);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy