Search in sources :

Example 6 with ApiException

use of com.walmartlabs.concord.plugins.puppet.model.exception.ApiException in project concord-plugins by walmartlabs.

the class ApiExceptionTest method testMessage.

@Test
public void testMessage() {
    ApiException ex = new ApiException("error occurred");
    assertEquals("error occurred", ex.getMessage());
}
Also used : ApiException(com.walmartlabs.concord.plugins.puppet.model.exception.ApiException) Test(org.junit.Test)

Aggregations

ApiException (com.walmartlabs.concord.plugins.puppet.model.exception.ApiException)6 Test (org.junit.Test)5 CertificateException (java.security.cert.CertificateException)3 MissingParameterException (com.walmartlabs.concord.plugins.puppet.model.exception.MissingParameterException)2 MockContext (com.walmartlabs.concord.sdk.MockContext)2 ConfigException (com.walmartlabs.concord.plugins.puppet.model.exception.ConfigException)1 FileNotFoundException (java.io.FileNotFoundException)1 HttpException (wiremock.org.apache.http.HttpException)1