summaryrefslogtreecommitdiff
path: root/src/main/java/exceptions/VSSimulatorException.java
blob: 2ce8b3afae10f876ba210f4385ac55ea15f5fee6 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package exceptions;

/**
 * Base exception class for all DS-Sim simulator exceptions.
 * This provides a common base for all custom exceptions in the application.
 *
 * @author Paul C. Buetow
 */
public class VSSimulatorException extends Exception {
    /** The serial version uid */
    private static final long serialVersionUID = 1L;
    
    /**
     * Constructs a new simulator exception with null as its detail message.
     */
    public VSSimulatorException() {
        super();
    }
    
    /**
     * Constructs a new simulator exception with the specified detail message.
     *
     * @param message the detail message
     */
    public VSSimulatorException(String message) {
        super(message);
    }
    
    /**
     * Constructs a new simulator exception with the specified detail message and cause.
     *
     * @param message the detail message
     * @param cause the cause
     */
    public VSSimulatorException(String message, Throwable cause) {
        super(message, cause);
    }
    
    /**
     * Constructs a new simulator exception with the specified cause.
     *
     * @param cause the cause
     */
    public VSSimulatorException(Throwable cause) {
        super(cause);
    }
}