summaryrefslogtreecommitdiff
path: root/src/main/java/exceptions/VSConfigurationException.java
blob: d37eeeb230c9f6d8907406cab8e1301df61c0ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package exceptions;

/**
 * Exception thrown when there is a configuration error in the simulator.
 * This includes invalid preferences, missing required settings, or conflicting configurations.
 *
 * @author Paul C. Buetow
 */
public class VSConfigurationException extends VSSimulatorException {
    /** The serial version uid */
    private static final long serialVersionUID = 1L;
    
    /**
     * Constructs a new configuration exception with the specified detail message.
     *
     * @param message the detail message
     */
    public VSConfigurationException(String message) {
        super(message);
    }
    
    /**
     * Constructs a new configuration exception with the specified detail message and cause.
     *
     * @param message the detail message
     * @param cause the cause
     */
    public VSConfigurationException(String message, Throwable cause) {
        super(message, cause);
    }
}