Project

General

Profile

Download (770 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2017 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.vaadin.ui;
10

    
11
/**
12
 * @author a.kohlbecker
13
 * @since May 8, 2017
14
 *
15
 */
16
public class InactiveUIException extends Exception {
17

    
18

    
19
    private static final long serialVersionUID = 3225226104624596439L;
20

    
21
    String viewName;
22

    
23
    public InactiveUIException(String viewName){
24
        super("The requested view '" + viewName + "' is not active for this web application instance.");
25
        this.viewName = viewName;
26
    }
27

    
28
    public String getViewName() {
29
        return viewName;
30
    }
31

    
32

    
33

    
34
}
(7-7/9)