
com.newrelic.agent.config.ExpectedErrorConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of newrelic-agent Show documentation
Show all versions of newrelic-agent Show documentation
Jar required to run with a java application to monitor performance.
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