summaryrefslogtreecommitdiff
path: root/src/main/java/exceptions/VSSimulatorRuntimeException.java
blob: 59acac9f76b96424badf1309cb2beba79193afb6 (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 runtime exception class for DS-Sim simulator.
 * Used for unrecoverable errors that should not be caught in normal flow.
 *
 * @author Paul C. Buetow
 */
public class VSSimulatorRuntimeException extends RuntimeException {
    /** The serial version uid */
    private static final long serialVersionUID = 1L;
    
    /**
     * Constructs a new simulator runtime exception with null as its detail message.
     */
    public VSSimulatorRuntimeException() {
        super();
    }
    
    /**
     * Constructs a new simulator runtime exception with the specified detail message.
     *
     * @param message the detail message
     */
    public VSSimulatorRuntimeException(String message) {
        super(message);
    }
    
    /**
     * Constructs a new simulator runtime exception with the specified detail message and cause.
     *
     * @param message the detail message
     * @param cause the cause
     */
    public VSSimulatorRuntimeException(String message, Throwable cause) {
        super(message, cause);
    }
    
    /**
     * Constructs a new simulator runtime exception with the specified cause.
     *
     * @param cause the cause
     */
    public VSSimulatorRuntimeException(Throwable cause) {
        super(cause);
    }
}