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

com.newrelic.agent.errors.ErrorService Maven / Gradle / Ivy

There is a newer version: 8.14.0
Show newest version
/*
 *
 *  * Copyright 2020 New Relic Corporation. All rights reserved.
 *  * SPDX-License-Identifier: Apache-2.0
 *
 */

package com.newrelic.agent.errors;

import com.newrelic.agent.service.EventService;
import com.newrelic.agent.transaction.TransactionThrowable;

import java.util.List;
import java.util.Map;

public interface ErrorService extends EventService {

    List getAndClearTracedErrors();

    void reportErrors(TracedError... tracedErrors);

    void reportError(TracedError error);

    void reportHTTPError(String message, int statusCode, String uri);

    void reportException(Throwable throwable);

    void reportException(Throwable throwable, Map params, boolean expected);

    void reportError(String message, Map params, boolean expected);

    void addHarvestableToService();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy