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

com.newrelic.agent.config.ExpectedErrorConfig Maven / Gradle / Ivy

The newest version!
/*
 *
 *  * Copyright 2020 New Relic Corporation. All rights reserved.
 *  * SPDX-License-Identifier: Apache-2.0
 *
 */

package com.newrelic.agent.config;

public interface ExpectedErrorConfig {

    /**
     * Returns the fully qualified class name of an expected exception. e.g:
     *
     * 
com.newrelic.exceptions.ExpectedException
* * @return the fully qualified class name of an expected exception */ String getErrorClass(); /** * Returns the optional string that represents the error message for the exception class name above. * * NOTE: This will return null if no message string exists. * * @return string for matching on the message of an error or null if not present */ String getErrorMessage(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy