From f5af5ba4348e2b0873fe5473634907e34e8b3f70 Mon Sep 17 00:00:00 2001 From: John Blum Date: Sun, 30 Jan 2022 22:49:10 -0800 Subject: [PATCH] Create a o.s.d.gemfire.tests.config.TestConfigurationException, RuntimeException class. The TestConfigurationException indicates a problem with the test configuration. --- .../config/TestConfigurationException.java | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/config/TestConfigurationException.java diff --git a/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/config/TestConfigurationException.java b/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/config/TestConfigurationException.java new file mode 100644 index 0000000..b3f83b0 --- /dev/null +++ b/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/config/TestConfigurationException.java @@ -0,0 +1,44 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ +package org.springframework.data.gemfire.tests.config; + +import org.springframework.data.gemfire.tests.TestException; + +/** + * {@link RuntimeException} used to capture a problem during test configuration. + * + * @author John Blum + * @see java.lang.RuntimeException + * @see org.springframework.data.gemfire.tests.TestException + * @since 1.0.0 + */ +@SuppressWarnings("unused") +public class TestConfigurationException extends TestException { + + public TestConfigurationException() { } + + public TestConfigurationException(String message) { + super(message); + } + + public TestConfigurationException(Throwable cause) { + super(cause); + } + + public TestConfigurationException(String message, Throwable cause) { + super(message, cause); + } +}