1 /*
2  * Copyright (c) 2016 Helmut Neemann
3  * Use of this source code is governed by the GPL v3 license
4  * that can be found in the LICENSE file.
5  */
6 package de.neemann.digital.draw.library;
7 
8 /**
9  * Exception thrown if e element does't exist
10  * <p/>
11  * Created by helmut.neemann on 08.11.2016.
12  */
13 public class ElementNotFoundException extends Exception {
14     /**
15      * Creates a new Instance
16      *
17      * @param message the error message
18      */
ElementNotFoundException(String message)19     public ElementNotFoundException(String message) {
20         super(message);
21     }
22 
23     /**
24      * Creates a new Instance
25      *
26      * @param message the error message
27      * @param cause   the errors cause
28      */
ElementNotFoundException(String message, Exception cause)29     public ElementNotFoundException(String message, Exception cause) {
30         super(message, cause);
31     }
32 }
33