Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
InvalidConfigurationException.java
1 package org.bukkit.configuration;
2 
3 /**
4  * Exception thrown when attempting to load an invalid {@link Configuration}
5  */
6 @SuppressWarnings("serial")
7 public class InvalidConfigurationException extends Exception {
8 
9  /**
10  * Creates a new instance of InvalidConfigurationException without a
11  * message or cause.
12  */
14 
15  /**
16  * Constructs an instance of InvalidConfigurationException with the
17  * specified message.
18  *
19  * @param msg The details of the exception.
20  */
21  public InvalidConfigurationException(String msg) {
22  super(msg);
23  }
24 
25  /**
26  * Constructs an instance of InvalidConfigurationException with the
27  * specified cause.
28  *
29  * @param cause The cause of the exception.
30  */
31  public InvalidConfigurationException(Throwable cause) {
32  super(cause);
33  }
34 
35  /**
36  * Constructs an instance of InvalidConfigurationException with the
37  * specified message and cause.
38  *
39  * @param cause The cause of the exception.
40  * @param msg The details of the exception.
41  */
42  public InvalidConfigurationException(String msg, Throwable cause) {
43  super(msg, cause);
44  }
45 }