View Javadoc
1   /*
2    * Copyright (c) 2020 bahlef.
3    * All rights reserved. This program and the accompanying materials
4    * are made available under the terms of the Eclipse Public License v2.0
5    * which accompanies this distribution, and is available at
6    * http://www.eclipse.org/legal/epl-v20.html
7    * Contributors:
8    * markiewb - initial API and implementation and/or initial documentation
9    * bahlef
10   */
11  package de.funfried.netbeans.plugins.external.formatter.exceptions;
12  
13  /**
14   * {@link RuntimeException} which is thrown when a configuration file could not be
15   * parsed or even loaded.
16   *
17   * @author bahlef
18   */
19  public class CannotLoadConfigurationException extends RuntimeException {
20  	private static final long serialVersionUID = 1L;
21  
22  	/**
23  	 * Creates a new instance of {@link CannotLoadConfigurationException}.
24  	 *
25  	 * @param message the detail message
26  	 */
27  	public CannotLoadConfigurationException(String message) {
28  		super(message);
29  	}
30  
31  	/**
32  	 * Creates a new instance of {@link CannotLoadConfigurationException}.
33  	 *
34  	 * @param cause the original cause of the exceptio
35  	 */
36  	public CannotLoadConfigurationException(Throwable cause) {
37  		super(cause);
38  	}
39  }