1 /* 2 * Copyright 2010-2024 the original author or authors. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 /* 17 * Licensed to the Apache Software Foundation (ASF) under one 18 * or more contributor license agreements. See the NOTICE file 19 * distributed with this work for additional information 20 * regarding copyright ownership. The ASF licenses this file 21 * to you under the Apache License, Version 2.0 (the 22 * "License"); you may not use this file except in compliance 23 * with the License. You may obtain a copy of the License at 24 * 25 * http://www.apache.org/licenses/LICENSE-2.0 26 * 27 * Unless required by applicable law or agreed to in writing, 28 * software distributed under the License is distributed on an 29 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 30 * KIND, either express or implied. See the License for the 31 * specific language governing permissions and limitations 32 * under the License. 33 */ 34 package org.mybatis.maven.testing; 35 36 /** 37 * Mybatis: Borrowed from 'https://github.com/apache/maven-plugin-testing/blob/master/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/ConfiguationException.java' 38 * Reason: Removed from release 4.0.0-beta-1 and we need to have junit 5 support. Maven dropped maven 3 support here! 39 * Git: From release 4.0.0-alpha-2 40 */ 41 42 /** 43 * ConfigurationException 44 * 45 * @author jesse 46 */ 47 public class ConfigurationException extends Exception { 48 /** serialVersionUID */ 49 static final long serialVersionUID = -6180939638742159065L; 50 51 /** 52 * @param message 53 * The detailed message. 54 */ 55 public ConfigurationException(String message) { 56 super(message); 57 } 58 59 /** 60 * @param cause 61 * The detailed cause. 62 */ 63 public ConfigurationException(Throwable cause) { 64 super(cause); 65 } 66 67 /** 68 * @param message 69 * The detailed message. 70 * @param cause 71 * The detailed cause. 72 */ 73 public ConfigurationException(String message, Throwable cause) { 74 super(message, cause); 75 } 76 }