summaryrefslogtreecommitdiff
path: root/src/main/java/exceptions/VSEventNotCopyableException.java
blob: b5557132764110fff95b5875194a02bc0483a204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package exceptions;

/**
 * Exception thrown when attempting to copy an event that does not support copying.
 * Events must implement VSCopyableEvent interface to be copyable.
 *
 * @author Paul C. Buetow
 */
public class VSEventNotCopyableException extends VSSimulatorException {
    /** The serial version uid */
    private static final long serialVersionUID = 1L;

    /**
     * Constructs a new event not copyable exception with the specified event description.
     *
     * @param eventDescription description of the event that cannot be copied
     */
    public VSEventNotCopyableException(String eventDescription) {
        super("Event cannot be copied: " + eventDescription);
    }
}